Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001289/0.00129, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001299/0.001299, allocations: 203.3 kB / 16.15 MB, free: 6.594 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.724/2.724, allocations: 461.9 MB / 0.7342 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 69.09 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3453, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002105/0.3475, allocations: 0.8919 MB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.3476, allocations: 39.78 kB / 1.053 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.3477, allocations: 4 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.838e-05/0.3478, allocations: 7.922 kB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.3479, allocations: 7.938 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.214e-05/0.3479, allocations: 19.94 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.348, allocations: 63.75 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.3482, allocations: 35.97 kB / 1.053 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.3483, allocations: 27.86 kB / 1.053 GB, free: 7.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.3483, allocations: 31.8 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3484, allocations: 0 / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.3484, allocations: 4 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.3484, allocations: 19.91 kB / 1.053 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.3485, allocations: 31.75 kB / 1.053 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3486, allocations: 68.05 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3486, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3486, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.3486, allocations: 0 / 1.053 GB, free: 7.574 MB / 0.8106 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.0005225/0.3491, allocations: 379.3 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3492, allocations: 8.031 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.3492, allocations: 12.83 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3495, allocations: 196.1 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3495, allocations: 8.375 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3495, allocations: 4.375 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.3497, allocations: 91.86 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3497, allocations: 8.125 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3497, allocations: 7.938 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3497, allocations: 0 / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.3498, allocations: 43.91 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.3504, allocations: 428.5 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.315e-05/0.3505, allocations: 49.28 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.3505, allocations: 21.84 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.3505, allocations: 0 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3506, allocations: 30.56 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3506, allocations: 0 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.3507, allocations: 61.47 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.3508, allocations: 81.11 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.351, allocations: 161.3 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.351, allocations: 25.7 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.3511, allocations: 104 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/0.3511, allocations: 7.906 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.3511, allocations: 13.72 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3512, allocations: 327.1 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.3513, allocations: 7.938 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-05/0.3513, allocations: 21.66 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.3513, allocations: 29.7 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3514, allocations: 0 / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.908e-05/0.3514, allocations: 53.61 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3515, allocations: 13.09 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3515, allocations: 3.938 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3515, allocations: 0 / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.3516, allocations: 11.98 kB / 1.055 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3516, allocations: 4 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.3516, allocations: 7.844 kB / 1.055 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3516, allocations: 4 kB / 1.055 GB, free: 5.133 MB / 0.8106 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.283e-05/0.3517, allocations: 111.4 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.3517, allocations: 7.906 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.3518, allocations: 19.81 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3518, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3518, allocations: 7.984 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3518, allocations: 7.875 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.3522, allocations: 470.8 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3522, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.3522, allocations: 3.938 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3522, allocations: 8.062 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3522, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3522, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3523, allocations: 96 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.447e-05/0.3523, allocations: 81.81 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.3524, allocations: 89.02 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3524, allocations: 4.031 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.3524, allocations: 4 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.3525, allocations: 3.984 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.3525, allocations: 0 / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.48e-05/0.3526, allocations: 123.2 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3526, allocations: 0 / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002095/0.3528, allocations: 8 kB / 1.056 GB, free: 4.09 MB / 0.8106 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.0001151/0.3529, allocations: 99.25 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.13e-05/0.353, allocations: 16 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.353, allocations: 0 / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.353, allocations: 11.94 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.3532, allocations: 11.94 kB / 1.056 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.3535, allocations: 184.7 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.3538, allocations: 0.6887 MB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.3539, allocations: 12.42 kB / 1.057 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.3539, allocations: 11.38 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3539, allocations: 8 kB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of Templates: time 0.002457/0.3564, allocations: 432.6 kB / 1.058 GB, free: 2.562 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches