Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.001001/0.001001, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001013/0.001013, allocations: 166.6 kB / 24.87 MB, free: 9.285 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.9929/0.9929, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.909/1.909, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.377e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.00171/0.001734, allocations: 0.8636 MB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001367/0.00187, allocations: 48.5 kB / 0.8137 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.001929, allocations: 4.938 kB / 0.8137 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.00197, allocations: 11.81 kB / 0.8137 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.002054, allocations: 19.8 kB / 0.8137 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.79e-05/0.002112, allocations: 21.14 kB / 0.8137 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.002218, allocations: 87.75 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.002346, allocations: 29.3 kB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.002435, allocations: 60.47 kB / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.002482, allocations: 13.52 kB / 0.8139 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.002501, allocations: 8 kB / 0.8139 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.002509, allocations: 8 kB / 0.8139 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.002532, allocations: 19.91 kB / 0.8139 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.002556, allocations: 16.81 kB / 0.814 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.002655, allocations: 67.62 kB / 0.814 GB, free: 208 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.002659, allocations: 0 / 0.814 GB, free: 208 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.62e-07/0.00266, allocations: 0.7812 kB / 0.814 GB, free: 208 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.002664, allocations: 0 / 0.814 GB, free: 208 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003542/0.003018, allocations: 422.1 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.003051, allocations: 8.031 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.003088, allocations: 28.84 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.003219, allocations: 144.4 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.00323, allocations: 6.094 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.003242, allocations: 12.38 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.003358, allocations: 94.08 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.003367, allocations: 0 / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.003377, allocations: 5.75 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.003385, allocations: 4 kB / 0.8147 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.003421, allocations: 23.86 kB / 0.8147 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.003892, allocations: 0.7456 MB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.003995, allocations: 274.3 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.004034, allocations: 126.9 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.004067, allocations: 119.8 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.004116, allocations: 160.5 kB / 0.8161 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.004117, allocations: 2.562 kB / 0.8161 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.316e-05/0.00417, allocations: 33.66 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.004225, allocations: 170.6 kB / 0.8163 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.004353, allocations: 208.2 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.00436, allocations: 25.7 kB / 0.8165 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.004435, allocations: 174.5 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.004436, allocations: 4.531 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.004466, allocations: 31.34 kB / 0.8167 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.004582, allocations: 496.8 kB / 0.8172 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-06/0.004589, allocations: 3.984 kB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.004626, allocations: 70.27 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.178e-05/0.004687, allocations: 76.69 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.004691, allocations: 3.938 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.794e-05/0.004789, allocations: 83.09 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.004801, allocations: 7.875 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.004807, allocations: 4 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.004816, allocations: 0 / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.943e-05/0.004865, allocations: 12 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.004868, allocations: 0.8125 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.004892, allocations: 15.89 kB / 0.8175 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.004897, allocations: 4.938 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.325e-05/0.00499, allocations: 287.8 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.005048, allocations: 158 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.005097, allocations: 160.6 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-05/0.005162, allocations: 272 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-05/0.00523, allocations: 272.9 kB / 0.8186 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.607e-05/0.005296, allocations: 268 kB / 0.8188 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.005473, allocations: 494.7 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.745e-05/0.005511, allocations: 152.8 kB / 0.8195 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.005545, allocations: 148.9 kB / 0.8196 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.927e-05/0.005604, allocations: 268 kB / 0.8199 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.005666, allocations: 276 kB / 0.8201 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.147e-05/0.005728, allocations: 264.1 kB / 0.8204 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-05/0.005794, allocations: 271 kB / 0.8206 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.005922, allocations: 452 kB / 0.8211 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.005976, allocations: 168.7 kB / 0.8212 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.644e-05/0.006042, allocations: 268.1 kB / 0.8215 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.689e-05/0.006099, allocations: 149.1 kB / 0.8216 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.006164, allocations: 268.1 kB / 0.8219 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.006204, allocations: 148.9 kB / 0.822 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.006257, allocations: 150 kB / 0.8222 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006257, allocations: 1.375 kB / 0.8222 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001496/0.006406, allocations: 11.94 kB / 0.8222 GB, free: 7.418 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.0001199/0.006526, allocations: 219 kB / 0.8224 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.656e-05/0.006593, allocations: 20.69 kB / 0.8224 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006594, allocations: 4.719 kB / 0.8224 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.006595, allocations: 0 / 0.8224 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.006905, allocations: 0.7074 MB / 0.8231 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.007173, allocations: 293.9 kB / 0.8234 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.007209, allocations: 63.34 kB / 0.8234 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.598e-05/0.007245, allocations: 7.188 kB / 0.8234 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.00728, allocations: 78.14 kB / 0.8235 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/0.007281, allocations: 0 / 0.8235 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of Templates: time 0.001793/0.009073, allocations: 333 kB / 0.8238 GB, free: 5.656 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.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.182925139088184]