Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 104.1 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 195.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.75 kB / 0.8127 GB, free: 33.22 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2624, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002626/0.265, allocations: 0.8823 MB / 0.9506 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001427/0.2652, allocations: 43.78 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.2653, allocations: 0 / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.2653, allocations: 7.922 kB / 0.9507 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.2654, allocations: 3.938 kB / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.393e-05/0.2655, allocations: 16 kB / 0.9507 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.999e-05/0.2656, allocations: 59.84 kB / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.2657, allocations: 47.95 kB / 0.9508 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.2658, allocations: 27.8 kB / 0.9508 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.2659, allocations: 23.86 kB / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2659, allocations: 8 kB / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.2659, allocations: 4 kB / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.2659, allocations: 23.92 kB / 0.9509 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.266, allocations: 35.8 kB / 0.9509 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.291e-05/0.2661, allocations: 48.17 kB / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.2661, allocations: 8 kB / 0.951 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2661, allocations: 0 / 0.951 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.2661, allocations: 0 / 0.951 GB, free: 7.984 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004384/0.2666, allocations: 377 kB / 0.9513 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2666, allocations: 11.97 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.2666, allocations: 8.844 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2669, allocations: 204.1 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.2669, allocations: 384 / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.2669, allocations: 12.38 kB / 0.9516 GB, free: 7.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.2671, allocations: 99.8 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2671, allocations: 192 / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2671, allocations: 3.938 kB / 0.9517 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.2671, allocations: 4 kB / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.525e-05/0.2672, allocations: 39.92 kB / 0.9517 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.2678, allocations: 440.6 kB / 0.9521 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.423e-05/0.2679, allocations: 37.22 kB / 0.9522 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.2679, allocations: 17.78 kB / 0.9522 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.2679, allocations: 4 kB / 0.9522 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2679, allocations: 38.59 kB / 0.9522 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2679, allocations: 0 / 0.9522 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/0.2681, allocations: 57.47 kB / 0.9523 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2682, allocations: 77.36 kB / 0.9524 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.2683, allocations: 172.4 kB / 0.9525 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2684, allocations: 25.7 kB / 0.9525 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.2684, allocations: 108 kB / 0.9526 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/0.2684, allocations: 3.906 kB / 0.9526 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.2685, allocations: 17.72 kB / 0.9527 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2686, allocations: 318.8 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.2686, allocations: 4 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.2687, allocations: 21.72 kB / 0.953 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.038e-05/0.2687, allocations: 29.66 kB / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2687, allocations: 0 / 0.953 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.705e-05/0.2688, allocations: 57.59 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2688, allocations: 4 kB / 0.9531 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2688, allocations: 7.938 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.2689, allocations: 0 / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.2689, allocations: 12 kB / 0.9531 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.2689, allocations: 3.938 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.269, allocations: 11.84 kB / 0.9531 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.269, allocations: 4 kB / 0.9531 GB, free: 5.535 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.2691, allocations: 117.8 kB / 0.9532 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.178e-05/0.2691, allocations: 7.906 kB / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.2692, allocations: 15.81 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2692, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2692, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2692, allocations: 4.094 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.2696, allocations: 466.8 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/0.2696, allocations: 7.984 kB / 0.9537 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.2696, allocations: 3.984 kB / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.2696, allocations: 4 kB / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.2696, allocations: 0 / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2696, allocations: 0 / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2697, allocations: 64 / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/0.2697, allocations: 85.78 kB / 0.9538 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.2698, allocations: 89 kB / 0.9539 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2698, allocations: 3.938 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.075e-05/0.2698, allocations: 0 / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.2699, allocations: 8 kB / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.2699, allocations: 4.031 kB / 0.9539 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.118e-05/0.27, allocations: 121.3 kB / 0.954 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/0.27, allocations: 0 / 0.954 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001865/0.2702, allocations: 8 kB / 0.954 GB, free: 4.496 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.2703, allocations: 99.23 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.034e-05/0.2704, allocations: 19.94 kB / 0.9541 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2704, allocations: 0 / 0.9541 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.2704, allocations: 8.125 kB / 0.9541 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.2706, allocations: 11.94 kB / 0.9542 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.2709, allocations: 211 kB / 0.9544 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.2712, allocations: 0.6963 MB / 0.955 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.2712, allocations: 11.44 kB / 0.955 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.2712, allocations: 4 kB / 0.9551 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of Templates: time 0.002171/0.2734, allocations: 0.856 MB / 0.9559 GB, free: 2.512 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches