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.001501/0.001501, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002034/0.002034, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.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.658/2.658, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.89 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8459, allocations: 140.4 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002569/0.8486, allocations: 0.8852 MB / 0.9498 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.8487, allocations: 37.45 kB / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.016e-05/0.8488, allocations: 1.219 kB / 0.9498 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.737e-05/0.8488, allocations: 7.938 kB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.849, allocations: 13.03 kB / 0.9498 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.257e-05/0.849, allocations: 16.06 kB / 0.9499 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.8491, allocations: 54.41 kB / 0.9499 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.8493, allocations: 43.03 kB / 0.9499 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.8494, allocations: 27.98 kB / 0.95 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.8494, allocations: 23.98 kB / 0.95 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.8495, allocations: 4.125 kB / 0.95 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.8495, allocations: 4.125 kB / 0.95 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.8495, allocations: 14.67 kB / 0.95 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.8496, allocations: 30.62 kB / 0.95 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.8497, allocations: 72.72 kB / 0.9501 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.8497, allocations: 1.375 kB / 0.9501 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8497, allocations: 4 kB / 0.9501 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8497, allocations: 0 / 0.9501 GB, free: 8.238 MB / 0.7169 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.0004091/0.8501, allocations: 374.5 kB / 0.9505 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.8502, allocations: 9.625 kB / 0.9505 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.8502, allocations: 8.969 kB / 0.9505 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.8504, allocations: 195.1 kB / 0.9507 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.8504, allocations: 3.125 kB / 0.9507 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.8505, allocations: 9.875 kB / 0.9507 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.8506, allocations: 92.7 kB / 0.9508 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.8506, allocations: 192 / 0.9508 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.8507, allocations: 5.312 kB / 0.9508 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.8507, allocations: 6.688 kB / 0.9508 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.67e-05/0.8508, allocations: 43.11 kB / 0.9508 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.8512, allocations: 440.5 kB / 0.9513 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.32e-05/0.8513, allocations: 41.41 kB / 0.9513 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.8514, allocations: 16.59 kB / 0.9513 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.8514, allocations: 4 kB / 0.9513 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.8514, allocations: 39.94 kB / 0.9514 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.8514, allocations: 0 / 0.9514 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000178/0.8516, allocations: 59.22 kB / 0.9514 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.8516, allocations: 77.11 kB / 0.9515 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.8518, allocations: 167.4 kB / 0.9516 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.8518, allocations: 27.08 kB / 0.9517 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.8518, allocations: 107.8 kB / 0.9518 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.8518, allocations: 5.312 kB / 0.9518 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.8519, allocations: 21.91 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.398e-05/0.8519, allocations: 319.9 kB / 0.9521 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.659e-05/0.852, allocations: 3.875 kB / 0.9521 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.852, allocations: 19.47 kB / 0.9521 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.852, allocations: 21.28 kB / 0.9521 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.852, allocations: 5.438 kB / 0.9522 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.443e-05/0.8521, allocations: 61.91 kB / 0.9522 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8521, allocations: 5.5 kB / 0.9522 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8521, allocations: 5.031 kB / 0.9522 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.8522, allocations: 0 / 0.9522 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.8522, allocations: 6.25 kB / 0.9522 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.8523, allocations: 5.047 kB / 0.9522 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.8523, allocations: 2.031 kB / 0.9522 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.8523, allocations: 1.219 kB / 0.9522 GB, free: 6.078 MB / 0.7169 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 6.511e-05/0.8524, allocations: 121.4 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.8524, allocations: 7.969 kB / 0.9524 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.8524, allocations: 18.77 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8524, allocations: 1.75 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8525, allocations: 0 / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.8525, allocations: 1 kB / 0.9524 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.8527, allocations: 477.3 kB / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8527, allocations: 5.031 kB / 0.9528 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.824e-05/0.8528, allocations: 2.781 kB / 0.9528 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8528, allocations: 1.312 kB / 0.9528 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.8528, allocations: 5.25 kB / 0.9528 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8528, allocations: 0 / 0.9528 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8528, allocations: 1.312 kB / 0.9529 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.317e-05/0.8529, allocations: 81.89 kB / 0.9529 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.8529, allocations: 91.86 kB / 0.953 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.8529, allocations: 1.312 kB / 0.953 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.181e-05/0.853, allocations: 5.344 kB / 0.953 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.853, allocations: 5.188 kB / 0.953 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.853, allocations: 5.516 kB / 0.953 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.847e-05/0.8531, allocations: 115.8 kB / 0.9531 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8531, allocations: 0 / 0.9531 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001922/0.8533, allocations: 6.844 kB / 0.9531 GB, free: 5.121 MB / 0.7169 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.0001059/0.8534, allocations: 105.2 kB / 0.9532 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/0.8535, allocations: 14.25 kB / 0.9533 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8535, allocations: 0 / 0.9533 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.8535, allocations: 8.406 kB / 0.9533 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.8537, allocations: 15.28 kB / 0.9533 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.854, allocations: 182.5 kB / 0.9535 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.8542, allocations: 0.6945 MB / 0.9541 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.8542, allocations: 12.36 kB / 0.9541 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.8542, allocations: 11.47 kB / 0.9542 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.8543, allocations: 0 / 0.9542 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.002578/0.8568, allocations: 432.8 kB / 0.9546 GB, free: 3.891 MB / 0.7169 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/jenkins/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