Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9504/0.9504, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.907/1.907, allocations: 377.9 MB / 0.6236 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.611e-05, allocations: 3.344 kB / 0.8115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001227/0.001244, allocations: 0.82 MB / 0.8123 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001009/0.001344, allocations: 39.78 kB / 0.8124 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.001382, allocations: 8.969 kB / 0.8124 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.001412, allocations: 7.922 kB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.001485, allocations: 11.86 kB / 0.8124 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.628e-05/0.001521, allocations: 20.77 kB / 0.8124 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.001604, allocations: 63.75 kB / 0.8125 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.001709, allocations: 33.59 kB / 0.8125 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.00179, allocations: 51.77 kB / 0.8126 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.001823, allocations: 11.92 kB / 0.8126 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.00184, allocations: 4 kB / 0.8126 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.001847, allocations: 9.531 kB / 0.8126 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.001865, allocations: 15.92 kB / 0.8126 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.00189, allocations: 19.92 kB / 0.8126 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.642e-05/0.001967, allocations: 39.83 kB / 0.8127 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.001969, allocations: 1.75 kB / 0.8127 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.4e-07/0.001969, allocations: 0 / 0.8127 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.001973, allocations: 0 / 0.8127 GB, free: 15.46 MB / 0.7292 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.0003172/0.00229, allocations: 396 kB / 0.813 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.002321, allocations: 13.12 kB / 0.8131 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.002359, allocations: 20.84 kB / 0.8131 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.002472, allocations: 140.4 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.002481, allocations: 9.969 kB / 0.8132 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.00249, allocations: 4.375 kB / 0.8132 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.002602, allocations: 91.77 kB / 0.8133 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.002608, allocations: 8.062 kB / 0.8133 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.002619, allocations: 8.375 kB / 0.8133 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.002625, allocations: 2.969 kB / 0.8133 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.002666, allocations: 27.92 kB / 0.8134 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.003095, allocations: 0.7452 MB / 0.8141 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.541e-05/0.00317, allocations: 265.6 kB / 0.8143 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.0032, allocations: 130.9 kB / 0.8145 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.003224, allocations: 123.7 kB / 0.8146 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.003261, allocations: 156.6 kB / 0.8147 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.003262, allocations: 0.7188 kB / 0.8147 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.061e-05/0.003313, allocations: 33.69 kB / 0.8148 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.003358, allocations: 175.1 kB / 0.8149 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.694e-05/0.003455, allocations: 207.4 kB / 0.8151 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.003463, allocations: 25.7 kB / 0.8151 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.003522, allocations: 174.5 kB / 0.8153 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.003524, allocations: 0 / 0.8153 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.00355, allocations: 27.92 kB / 0.8153 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.003639, allocations: 0.4884 MB / 0.8158 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.003651, allocations: 8.766 kB / 0.8158 GB, free: 12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.599e-05/0.003687, allocations: 73.5 kB / 0.8159 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/0.003748, allocations: 92.39 kB / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00375, allocations: 0 / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.003853, allocations: 87.39 kB / 0.8161 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.003864, allocations: 4.844 kB / 0.8161 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.003869, allocations: 4 kB / 0.8161 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.00388, allocations: 6.219 kB / 0.8161 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.003932, allocations: 15.98 kB / 0.8161 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.003938, allocations: 3.938 kB / 0.8161 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.00396, allocations: 11.94 kB / 0.8161 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.003965, allocations: 8.156 kB / 0.8161 GB, free: 11.63 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.947e-05/0.004045, allocations: 282.4 kB / 0.8164 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.00409, allocations: 152.8 kB / 0.8165 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.00413, allocations: 164.6 kB / 0.8167 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.907e-05/0.004179, allocations: 264.1 kB / 0.8169 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.295e-05/0.004232, allocations: 268 kB / 0.8172 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.038e-05/0.004282, allocations: 276 kB / 0.8175 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.004441, allocations: 0.5115 MB / 0.818 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-05/0.004472, allocations: 150.4 kB / 0.8181 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.004502, allocations: 144.9 kB / 0.8182 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.345e-05/0.004556, allocations: 268.1 kB / 0.8185 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.004616, allocations: 272 kB / 0.8188 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.373e-05/0.00467, allocations: 264.6 kB / 0.819 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.134e-05/0.004721, allocations: 272 kB / 0.8193 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.004832, allocations: 461.3 kB / 0.8197 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.004872, allocations: 152.8 kB / 0.8199 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.004928, allocations: 268.1 kB / 0.8201 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.313e-05/0.004982, allocations: 148.8 kB / 0.8203 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.005041, allocations: 273.3 kB / 0.8205 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.005069, allocations: 156.8 kB / 0.8207 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.005112, allocations: 141.4 kB / 0.8208 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005113, allocations: 0 / 0.8208 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001429/0.005255, allocations: 19.58 kB / 0.8208 GB, free: 6.633 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 7.586e-05/0.005331, allocations: 210.4 kB / 0.821 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.273e-05/0.005404, allocations: 39.64 kB / 0.8211 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.005405, allocations: 0 / 0.8211 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.005406, allocations: 0 / 0.8211 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.005664, allocations: 0.7105 MB / 0.8218 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.005877, allocations: 277.5 kB / 0.822 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.049e-05/0.005908, allocations: 63.28 kB / 0.8221 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.812e-05/0.005936, allocations: 6.797 kB / 0.8221 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.00596, allocations: 12.5 kB / 0.8221 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.005961, allocations: 1.125 kB / 0.8221 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of Templates: time 0.001595/0.007555, allocations: 320.2 kB / 0.8224 GB, free: 4.965 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.182456629816443]