Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001544/0.001544, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001461/0.001461, allocations: 173 kB / 23.02 MB, free: 1.551 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.9528/0.9528, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.086/2.086, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.624e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001778/0.001804, allocations: 0.8186 MB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/0.001933, allocations: 48.66 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.001982, allocations: 0.9375 kB / 0.879 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.002024, allocations: 11.86 kB / 0.879 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.002112, allocations: 7.875 kB / 0.8791 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.808e-05/0.00216, allocations: 17.08 kB / 0.8791 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.002272, allocations: 67.78 kB / 0.8791 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.002401, allocations: 31.95 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.00251, allocations: 40.88 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.044e-05/0.002551, allocations: 19.97 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.002572, allocations: 4.719 kB / 0.8792 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.002587, allocations: 4 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.002607, allocations: 12.47 kB / 0.8792 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.002639, allocations: 21.34 kB / 0.8793 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.00274, allocations: 47.72 kB / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.002743, allocations: 0 / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.002744, allocations: 0 / 0.8793 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002748, allocations: 0.5938 kB / 0.8793 GB, free: 5.152 MB / 0.8386 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.0003948/0.003143, allocations: 409 kB / 0.8797 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.003182, allocations: 8.031 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.003229, allocations: 13.98 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.003385, allocations: 148.4 kB / 0.8799 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.003399, allocations: 4.375 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.003413, allocations: 13.03 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.003564, allocations: 91.78 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.003573, allocations: 1.406 kB / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.003583, allocations: 384 / 0.88 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.003593, allocations: 4.375 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.003655, allocations: 32.83 kB / 0.88 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.004209, allocations: 0.7375 MB / 0.8807 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.004314, allocations: 274.5 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.004356, allocations: 126.9 kB / 0.8811 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.004384, allocations: 120.3 kB / 0.8812 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.004436, allocations: 160.6 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.004437, allocations: 0 / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.349e-05/0.004501, allocations: 35.02 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.004562, allocations: 178.5 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.004695, allocations: 196.1 kB / 0.8818 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.004706, allocations: 29.7 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.004786, allocations: 177.9 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.00479, allocations: 3.984 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.00483, allocations: 35.33 kB / 0.882 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.004956, allocations: 492.1 kB / 0.8825 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.004972, allocations: 7.984 kB / 0.8825 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.005287, allocations: 77.44 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.206e-05/0.005349, allocations: 96.05 kB / 0.8826 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005351, allocations: 3.938 kB / 0.8826 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001147/0.005465, allocations: 82.88 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.005476, allocations: 8.031 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005481, allocations: 4 kB / 0.8827 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.005493, allocations: 0 / 0.8827 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.005544, allocations: 19.92 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.005551, allocations: 7.938 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.005572, allocations: 7.953 kB / 0.8828 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005577, allocations: 4 kB / 0.8828 GB, free: 1.316 MB / 0.8386 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.613e-05/0.005653, allocations: 279.7 kB / 0.883 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.005695, allocations: 156.8 kB / 0.8832 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.005735, allocations: 156.7 kB / 0.8833 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.884e-05/0.005784, allocations: 272 kB / 0.8836 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.245e-05/0.005836, allocations: 276 kB / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.206e-05/0.005898, allocations: 268.1 kB / 0.8841 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.006066, allocations: 0.5076 MB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/0.006093, allocations: 144.9 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.067e-05/0.006123, allocations: 152.8 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.241e-05/0.006176, allocations: 268.1 kB / 0.8852 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.991e-05/0.006226, allocations: 264.1 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-05/0.00628, allocations: 276 kB / 0.8857 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-05/0.006329, allocations: 264.1 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.006437, allocations: 455.8 kB / 0.8864 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.006479, allocations: 160.8 kB / 0.8865 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.006538, allocations: 272 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.006584, allocations: 144.9 kB / 0.8869 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.925e-05/0.006643, allocations: 276.3 kB / 0.8872 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.006673, allocations: 148.8 kB / 0.8873 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.006721, allocations: 141.1 kB / 0.8874 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006721, allocations: 4 kB / 0.8875 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001455/0.006867, allocations: 8 kB / 0.8875 GB, free: 12.32 MB / 0.8542 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 9.381e-05/0.006961, allocations: 214.4 kB / 0.8877 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.072e-05/0.007041, allocations: 43.58 kB / 0.8877 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.007043, allocations: 0 / 0.8877 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.007044, allocations: 0 / 0.8877 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.007311, allocations: 0.7061 MB / 0.8884 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.007539, allocations: 277.6 kB / 0.8887 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.176e-05/0.007571, allocations: 59.3 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.007602, allocations: 17.2 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.007621, allocations: 12.5 kB / 0.8887 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.007621, allocations: 0 / 0.8887 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.001691/0.009313, allocations: 319.9 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.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.240032732021064]