Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001082/0.001082, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.001204/0.001204, allocations: 165.7 kB / 24.87 MB, free: 8.883 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 1.045/1.045, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.901/1.901, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.473e-05, allocations: 2.969 kB / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001323/0.001338, allocations: 0.8235 MB / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.001441, allocations: 39.78 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.001493, allocations: 1.688 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.001524, allocations: 7.875 kB / 0.8136 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.385e-05/0.001608, allocations: 15.88 kB / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.571e-05/0.001644, allocations: 19.95 kB / 0.8137 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.001726, allocations: 63.78 kB / 0.8137 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.001823, allocations: 29.33 kB / 0.8138 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.909e-05/0.001912, allocations: 47.83 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.208e-05/0.001944, allocations: 11.98 kB / 0.8138 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.001958, allocations: 9.531 kB / 0.8138 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.001965, allocations: 4 kB / 0.8138 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.001984, allocations: 15.97 kB / 0.8138 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.002005, allocations: 11.94 kB / 0.8139 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.938e-05/0.002084, allocations: 48.42 kB / 0.8139 GB, free: 316 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002086, allocations: 0 / 0.8139 GB, free: 316 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.11e-07/0.002086, allocations: 0.5312 kB / 0.8139 GB, free: 316 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.00209, allocations: 1.656 kB / 0.8139 GB, free: 316 kB / 0.7605 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.000319/0.002409, allocations: 412.2 kB / 0.8143 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.002447, allocations: 8.031 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.002481, allocations: 16.89 kB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.002617, allocations: 137.1 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.002627, allocations: 8.375 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.002635, allocations: 5.594 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.273e-05/0.002728, allocations: 87.95 kB / 0.8145 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.002735, allocations: 192 / 0.8145 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.002742, allocations: 9.531 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.002747, allocations: 384 / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.915e-05/0.002776, allocations: 23.86 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.003225, allocations: 0.7316 MB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.003323, allocations: 269.4 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.003361, allocations: 130.9 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.003397, allocations: 120.9 kB / 0.8158 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.003447, allocations: 160.6 kB / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.003448, allocations: 0 / 0.8159 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.868e-05/0.003507, allocations: 33.59 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.003569, allocations: 174.6 kB / 0.8161 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.003684, allocations: 198 kB / 0.8163 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.003693, allocations: 25.7 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.942e-05/0.003783, allocations: 182.4 kB / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.003784, allocations: 0 / 0.8165 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.003819, allocations: 35.34 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.003944, allocations: 496.1 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.003951, allocations: 9.969 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.003989, allocations: 73.48 kB / 0.8171 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.234e-05/0.004052, allocations: 92.27 kB / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004054, allocations: 0 / 0.8172 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.889e-05/0.004153, allocations: 91.84 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.004164, allocations: 4 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.004169, allocations: 4 kB / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.004177, allocations: 0 / 0.8173 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-05/0.004219, allocations: 12 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.004225, allocations: 9.094 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.004248, allocations: 11.89 kB / 0.8173 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-06/0.004251, allocations: 0 / 0.8173 GB, free: 12.52 MB / 0.7761 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 9.079e-05/0.004341, allocations: 288.2 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.004391, allocations: 153.6 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.004433, allocations: 152.7 kB / 0.8179 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/0.004488, allocations: 264.9 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-05/0.004546, allocations: 276 kB / 0.8184 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-05/0.004603, allocations: 277.8 kB / 0.8187 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.004781, allocations: 492.4 kB / 0.8192 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/0.004816, allocations: 148.9 kB / 0.8193 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.004853, allocations: 148.9 kB / 0.8194 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.324e-05/0.004916, allocations: 268 kB / 0.8197 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.004979, allocations: 272.9 kB / 0.8199 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.755e-05/0.005046, allocations: 272 kB / 0.8202 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-05/0.005113, allocations: 267.6 kB / 0.8205 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.005235, allocations: 455.9 kB / 0.8209 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.00528, allocations: 156.8 kB / 0.821 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.005361, allocations: 268 kB / 0.8213 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/0.005412, allocations: 148.9 kB / 0.8214 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.005471, allocations: 264.4 kB / 0.8217 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.005502, allocations: 152.8 kB / 0.8218 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.005549, allocations: 144.9 kB / 0.822 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005549, allocations: 0 / 0.822 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001569/0.005706, allocations: 11.95 kB / 0.822 GB, free: 7.566 MB / 0.7761 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 0.0001244/0.00583, allocations: 216.5 kB / 0.8222 GB, free: 7.344 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.788e-05/0.005908, allocations: 40.55 kB / 0.8222 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.00591, allocations: 3.938 kB / 0.8222 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.005912, allocations: 1.125 kB / 0.8222 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.006213, allocations: 0.7139 MB / 0.8229 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.006467, allocations: 265.7 kB / 0.8232 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.006509, allocations: 60.38 kB / 0.8233 GB, free: 6.211 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.006549, allocations: 13.83 kB / 0.8233 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.006589, allocations: 74.2 kB / 0.8233 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of SimCode: time 9.12e-07/0.00659, allocations: 0.875 kB / 0.8233 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of Templates: time 0.001757/0.008347, allocations: 342.1 kB / 0.8237 GB, free: 5.805 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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.232607149984688]