Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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.001345/0.001345, 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.001638/0.001638, 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.9607/0.9607, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.061/2.061, allocations: 429.5 MB / 0.6733 GB, free: 4.062 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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.939e-05/4.205e-05, allocations: 9.688 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002651/0.002693, allocations: 0.8284 MB / 0.879 GB, free: 5.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.002907, allocations: 37.19 kB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.002977, allocations: 0 / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.003028, allocations: 11.88 kB / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.003133, allocations: 12.66 kB / 0.8791 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.433e-05/0.003207, allocations: 19.97 kB / 0.8791 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.003352, allocations: 64.33 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.003509, allocations: 29.08 kB / 0.8792 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.003649, allocations: 47.83 kB / 0.8792 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.003697, allocations: 15.92 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.003722, allocations: 4.656 kB / 0.8792 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.017e-05/0.003732, allocations: 4 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.003758, allocations: 21.47 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.00379, allocations: 11.94 kB / 0.8793 GB, free: 5.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.003908, allocations: 39.83 kB / 0.8793 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.003913, allocations: 4 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/0.003915, allocations: 3.781 kB / 0.8793 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.00392, allocations: 0 / 0.8793 GB, free: 5.203 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.0004677/0.004388, allocations: 408.2 kB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.004444, allocations: 8.031 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.004499, allocations: 12.89 kB / 0.8797 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.004677, allocations: 144.4 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.004692, allocations: 12.31 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.004706, allocations: 8.375 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.004873, allocations: 88.27 kB / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.004883, allocations: 192 / 0.88 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.004895, allocations: 5.25 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.004907, allocations: 4.375 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.079e-05/0.004968, allocations: 28.95 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.005597, allocations: 0.7413 MB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.005712, allocations: 278.7 kB / 0.881 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.005758, allocations: 126.9 kB / 0.8811 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.005794, allocations: 119.2 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.005853, allocations: 161.2 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.005855, allocations: 0 / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.386e-05/0.005929, allocations: 30.69 kB / 0.8814 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.006, allocations: 178.5 kB / 0.8816 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.006147, allocations: 199.8 kB / 0.8818 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.006159, allocations: 33.69 kB / 0.8818 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.108e-05/0.00625, allocations: 174.4 kB / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-06/0.006253, allocations: 0 / 0.882 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.006295, allocations: 31.33 kB / 0.882 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.006447, allocations: 0.4884 MB / 0.8825 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.006468, allocations: 4 kB / 0.8825 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.924e-05/0.006527, allocations: 77.48 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.006623, allocations: 91.91 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006626, allocations: 0 / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001631/0.006789, allocations: 83.22 kB / 0.8827 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.006807, allocations: 8 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.006815, allocations: 4 kB / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.00683, allocations: 0 / 0.8827 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.006906, allocations: 19.98 kB / 0.8827 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.006915, allocations: 7.938 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.837e-05/0.006953, allocations: 7.953 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.00696, allocations: 4 kB / 0.8828 GB, free: 1.375 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 0.0001146/0.007075, allocations: 283.6 kB / 0.883 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.007145, allocations: 152.8 kB / 0.8832 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.007207, allocations: 160.6 kB / 0.8833 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.782e-05/0.007295, allocations: 272 kB / 0.8836 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001001/0.007395, allocations: 280 kB / 0.8839 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-05/0.007484, allocations: 272 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.007775, allocations: 0.5038 MB / 0.8846 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/0.00782, allocations: 148.8 kB / 0.8848 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.007863, allocations: 152.9 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.008033, allocations: 264.1 kB / 0.8851 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.00811, allocations: 268 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.212e-05/0.008192, allocations: 272.1 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-05/0.008273, allocations: 268 kB / 0.8859 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.008441, allocations: 455.9 kB / 0.8864 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.384e-05/0.008505, allocations: 156.8 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.008593, allocations: 272.1 kB / 0.8868 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.008816, allocations: 152.8 kB / 0.8869 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.008898, allocations: 268.4 kB / 0.8872 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.008941, allocations: 148.8 kB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.226e-05/0.009023, allocations: 149.2 kB / 0.8874 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.009024, allocations: 0 / 0.8874 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002802/0.009304, allocations: 8 kB / 0.8875 GB, free: 12.37 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 0.0001446/0.009448, allocations: 222.4 kB / 0.8877 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.009557, allocations: 27.66 kB / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.00956, allocations: 0 / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.009562, allocations: 0 / 0.8877 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.009985, allocations: 0.7139 MB / 0.8884 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.01034, allocations: 269.7 kB / 0.8886 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.754e-05/0.01039, allocations: 67.22 kB / 0.8887 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.203e-05/0.01043, allocations: 9.234 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.01046, allocations: 12.5 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of SimCode: time 7.11e-07/0.01046, allocations: 0 / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.002549/0.01301, allocations: 318.5 kB / 0.889 GB, free: 10.68 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.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.268599859904498]