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.001329/0.001329, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00126/0.00126, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9583/0.9583, 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.891/1.891, allocations: 377.9 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.844e-06/1.844e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.884e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001924/0.001943, allocations: 0.82 MB / 0.8123 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001477/0.00209, allocations: 40.66 kB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.00215, allocations: 4.781 kB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.751e-05/0.002198, allocations: 7.875 kB / 0.8124 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.0023, allocations: 17.5 kB / 0.8124 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.729e-05/0.002358, allocations: 23.95 kB / 0.8124 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.00248, allocations: 59.84 kB / 0.8125 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.002625, allocations: 23.98 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.002747, allocations: 49.36 kB / 0.8126 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.002789, allocations: 15.86 kB / 0.8126 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.002815, allocations: 4 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.002825, allocations: 8 kB / 0.8126 GB, free: 0.6875 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.002852, allocations: 20.41 kB / 0.8126 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.002884, allocations: 16.84 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.002992, allocations: 35.83 kB / 0.8127 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.002994, allocations: 0.625 kB / 0.8127 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002995, allocations: 4 kB / 0.8127 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003, allocations: 1.594 kB / 0.8127 GB, free: 0.6133 MB / 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.000485/0.003485, allocations: 408.2 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.003529, allocations: 12.03 kB / 0.8131 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.003584, allocations: 16.89 kB / 0.8131 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.003783, allocations: 140.9 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.003798, allocations: 9.094 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.003814, allocations: 8.375 kB / 0.8132 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.003983, allocations: 86.05 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.003994, allocations: 192 / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.004009, allocations: 10 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.004018, allocations: 384 / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.282e-05/0.004091, allocations: 35.8 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.004727, allocations: 0.7496 MB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.004839, allocations: 261.6 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.004885, allocations: 135.5 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.004917, allocations: 123.2 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.004975, allocations: 157.3 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.004977, allocations: 1.031 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.803e-05/0.005045, allocations: 33.66 kB / 0.8148 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.005111, allocations: 174.5 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.005255, allocations: 201.3 kB / 0.8151 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.005264, allocations: 25.7 kB / 0.8152 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.005367, allocations: 174.5 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.00537, allocations: 4 kB / 0.8153 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.005408, allocations: 25.12 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.005548, allocations: 0.4923 MB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.005564, allocations: 7.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.005621, allocations: 77.48 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.505e-05/0.005706, allocations: 90.53 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.005708, allocations: 0 / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001619/0.00587, allocations: 85.5 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.005886, allocations: 9.375 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.005894, allocations: 4 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.005912, allocations: 4 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.005983, allocations: 8 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.005991, allocations: 8.719 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.006032, allocations: 11.95 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.006042, allocations: 8.547 kB / 0.8161 GB, free: 12.78 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 0.0001171/0.006159, allocations: 284.2 kB / 0.8164 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.006235, allocations: 153.5 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.006309, allocations: 156.6 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.089e-05/0.0064, allocations: 273.3 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-05/0.006488, allocations: 272 kB / 0.8172 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.534e-05/0.006574, allocations: 272 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.006839, allocations: 0.5102 MB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.926e-05/0.006888, allocations: 148.9 kB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.006934, allocations: 148.8 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.067e-05/0.007014, allocations: 264.1 kB / 0.8185 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-05/0.007099, allocations: 272 kB / 0.8188 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.062e-05/0.00718, allocations: 268.1 kB / 0.819 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.282e-05/0.007263, allocations: 272 kB / 0.8193 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.007432, allocations: 452.7 kB / 0.8197 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.007496, allocations: 156.8 kB / 0.8199 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.007589, allocations: 273 kB / 0.8201 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.007671, allocations: 152.8 kB / 0.8203 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.007752, allocations: 268.4 kB / 0.8205 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.007797, allocations: 150 kB / 0.8207 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.847e-05/0.007875, allocations: 147.2 kB / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007875, allocations: 0 / 0.8208 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002778/0.008153, allocations: 12.8 kB / 0.8208 GB, free: 7.781 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.0001368/0.00829, allocations: 215.1 kB / 0.821 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.008411, allocations: 43.52 kB / 0.8211 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.008413, allocations: 0 / 0.8211 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.008415, allocations: 0 / 0.8211 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.008856, allocations: 0.7103 MB / 0.8218 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/0.009192, allocations: 272.2 kB / 0.822 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.673e-05/0.009238, allocations: 63.28 kB / 0.8221 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.009278, allocations: 6.047 kB / 0.8221 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.009301, allocations: 12.5 kB / 0.8221 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.009302, allocations: 0 / 0.8221 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.002423/0.01172, allocations: 329 kB / 0.8224 GB, free: 6.105 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.123471342027187]