Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001454/0.001454, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001518/0.001518, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.039/1.039, allocations: 177.1 MB / 204.5 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.894/1.894, allocations: 377.9 MB / 0.6239 GB, free: 8.391 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.451e-05, allocations: 2.312 kB / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001455/0.001479, allocations: 0.8241 MB / 0.8128 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.001589, allocations: 39.78 kB / 0.8129 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.001638, allocations: 1.594 kB / 0.8129 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.299e-05/0.001671, allocations: 11.88 kB / 0.8129 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.001749, allocations: 11.86 kB / 0.8129 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.711e-05/0.001786, allocations: 19.98 kB / 0.8129 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.946e-05/0.001875, allocations: 60.31 kB / 0.813 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.001981, allocations: 27.97 kB / 0.813 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.002074, allocations: 40.53 kB / 0.813 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.802e-05/0.002112, allocations: 20.44 kB / 0.813 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.002129, allocations: 9.188 kB / 0.8131 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-06/0.002135, allocations: 4 kB / 0.8131 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.002153, allocations: 15.92 kB / 0.8131 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.002178, allocations: 16.47 kB / 0.8131 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.556e-05/0.002263, allocations: 39.83 kB / 0.8131 GB, free: 284 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002265, allocations: 1.375 kB / 0.8131 GB, free: 284 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.31e-07/0.002266, allocations: 3.938 kB / 0.8131 GB, free: 280 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.00227, allocations: 4 kB / 0.8131 GB, free: 276 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.0003553/0.002625, allocations: 413.3 kB / 0.8135 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.002665, allocations: 12.03 kB / 0.8135 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.002695, allocations: 12.89 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.00281, allocations: 141.5 kB / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.002819, allocations: 384 / 0.8137 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.002828, allocations: 12.38 kB / 0.8137 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.706e-05/0.002925, allocations: 86.5 kB / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.002932, allocations: 192 / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.002939, allocations: 384 / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.002946, allocations: 5.312 kB / 0.8138 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.735e-05/0.002973, allocations: 27.8 kB / 0.8138 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.003351, allocations: 0.7274 MB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.968e-05/0.003431, allocations: 261.4 kB / 0.8148 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/0.003464, allocations: 136.4 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.003491, allocations: 123.2 kB / 0.815 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.003536, allocations: 152.6 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.003537, allocations: 0 / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.144e-05/0.003588, allocations: 35.16 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.003634, allocations: 174.6 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.003735, allocations: 199.8 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.003743, allocations: 29.7 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.003813, allocations: 177.3 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.003815, allocations: 0 / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.003851, allocations: 31.36 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.003968, allocations: 496.1 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.003978, allocations: 11.92 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.925e-05/0.004018, allocations: 77.48 kB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.004083, allocations: 88.31 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.004085, allocations: 0 / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.481e-05/0.00418, allocations: 83.19 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004191, allocations: 4.906 kB / 0.8165 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.004197, allocations: 11.88 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.00421, allocations: 4.844 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.004254, allocations: 8 kB / 0.8165 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.004258, allocations: 4.844 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.551e-05/0.004283, allocations: 19.88 kB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.004289, allocations: 7.984 kB / 0.8166 GB, free: 12.48 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.394e-05/0.004383, allocations: 284.9 kB / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.004443, allocations: 148.9 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.004498, allocations: 153.5 kB / 0.8171 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/0.004565, allocations: 276 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-05/0.004627, allocations: 268.1 kB / 0.8176 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.449e-05/0.004692, allocations: 274.7 kB / 0.8179 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.004869, allocations: 496.5 kB / 0.8184 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-05/0.004907, allocations: 144.9 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.004944, allocations: 148.8 kB / 0.8187 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.005289, allocations: 272.1 kB / 0.8189 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.005349, allocations: 272 kB / 0.8192 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.748e-05/0.005407, allocations: 268.1 kB / 0.8194 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-05/0.005467, allocations: 274.7 kB / 0.8197 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.005597, allocations: 443.9 kB / 0.8201 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.005648, allocations: 160.8 kB / 0.8203 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.005711, allocations: 272.1 kB / 0.8205 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.005773, allocations: 148.8 kB / 0.8207 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.005834, allocations: 264.4 kB / 0.8209 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/0.005868, allocations: 152.9 kB / 0.8211 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.005918, allocations: 141.5 kB / 0.8212 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.005918, allocations: 0 / 0.8212 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001559/0.006074, allocations: 15.95 kB / 0.8212 GB, free: 7.527 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.0001105/0.006184, allocations: 215.4 kB / 0.8214 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.091e-05/0.006255, allocations: 37.83 kB / 0.8215 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.006257, allocations: 0 / 0.8215 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.006258, allocations: 0 / 0.8215 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.006538, allocations: 0.7072 MB / 0.8222 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000232/0.00677, allocations: 277.7 kB / 0.8224 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.006803, allocations: 59.34 kB / 0.8225 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.006841, allocations: 7.406 kB / 0.8225 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.00688, allocations: 78.14 kB / 0.8226 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.00688, allocations: 1.344 kB / 0.8226 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.001767/0.008647, allocations: 326.2 kB / 0.8229 GB, free: 5.781 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_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.113105800002813]