Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007478/0.007478, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001364/0.001364, allocations: 196.8 kB / 16.67 MB, free: 5.973 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.501/1.501, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.722/2.722, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3685, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00199/0.3705, allocations: 0.8334 MB / 1.167 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.3706, allocations: 43.8 kB / 1.167 GB, free: 5.902 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.3707, allocations: 4 kB / 1.167 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.072e-05/0.3708, allocations: 7.875 kB / 1.167 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.844e-05/0.3708, allocations: 7.875 kB / 1.167 GB, free: 5.883 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.43e-05/0.3709, allocations: 15.98 kB / 1.168 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.371, allocations: 71.81 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3712, allocations: 39.98 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.3712, allocations: 27.86 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.3713, allocations: 27.8 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3713, allocations: 4 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.3713, allocations: 8 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.3714, allocations: 19.86 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.3714, allocations: 31.81 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.3716, allocations: 79.58 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3716, allocations: 3.984 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3716, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3716, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 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.0004552/0.3721, allocations: 383 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3721, allocations: 8.031 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3721, allocations: 12.84 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3723, allocations: 200.1 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3724, allocations: 8.375 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.3724, allocations: 12.38 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.3726, allocations: 83.95 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3726, allocations: 192 / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3726, allocations: 7.938 kB / 1.168 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3726, allocations: 4 kB / 1.168 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.3727, allocations: 39.86 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.3732, allocations: 444.6 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.243e-05/0.3733, allocations: 37.34 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.3733, allocations: 17.78 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.3733, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.3733, allocations: 38.56 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 2.475e-06/0.3734, allocations: 0 / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/0.3735, allocations: 57.52 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3736, allocations: 81.05 kB / 1.169 GB, free: 3.941 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3737, allocations: 160.9 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.3737, allocations: 25.7 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.3738, allocations: 104.3 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.3738, allocations: 15.88 kB / 1.169 GB, free: 3.625 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.3739, allocations: 17.72 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.374, allocations: 318.8 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.374, allocations: 4 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.374, allocations: 17.72 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.3741, allocations: 25.72 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3741, allocations: 4 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.693e-05/0.3742, allocations: 65.53 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3742, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3742, allocations: 3.938 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3742, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.922e-05/0.3743, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3743, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.3743, allocations: 4 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3743, allocations: 4.062 kB / 1.17 GB, free: 3.125 MB / 0.92 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 8.29e-05/0.3744, allocations: 121.8 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.3745, allocations: 8.047 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3745, allocations: 15.8 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3745, allocations: 3.938 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3745, allocations: 4 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3745, allocations: 0 / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.3749, allocations: 478.7 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3749, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.3749, allocations: 11.92 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3749, allocations: 0 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3749, allocations: 4 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3749, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.375, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.098e-05/0.375, allocations: 81.95 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.3751, allocations: 89.05 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.3751, allocations: 3.938 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.3751, allocations: 0 / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.3752, allocations: 4 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.3752, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.104e-05/0.3753, allocations: 125.5 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3753, allocations: 0 / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001931/0.3755, allocations: 15.97 kB / 1.171 GB, free: 2.062 MB / 0.92 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.0001095/0.3756, allocations: 95.25 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.116e-05/0.3757, allocations: 23.98 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3757, allocations: 3.938 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-06/0.3757, allocations: 4 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3759, allocations: 14.17 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.3762, allocations: 166.8 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3764, allocations: 0.6889 MB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.3764, allocations: 8.422 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.3765, allocations: 11.44 kB / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of SimCode: time 2.1e-07/0.3765, allocations: 0 / 1.172 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of Templates: time 0.002466/0.379, allocations: 458.4 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches