Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001131/0.001131, 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.001069/0.001069, allocations: 173.3 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.9761/0.9761, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.095/2.095, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.531e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001481/0.001506, allocations: 0.8239 MB / 0.879 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.001628, allocations: 44.72 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.001672, allocations: 1.125 kB / 0.879 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.868e-05/0.001711, allocations: 12.52 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.001796, allocations: 15.81 kB / 0.8791 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.172e-05/0.001837, allocations: 17.02 kB / 0.8791 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.482e-05/0.001932, allocations: 67.81 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.00206, allocations: 23.98 kB / 0.8792 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.002158, allocations: 48.92 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.752e-05/0.002196, allocations: 11.92 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.002218, allocations: 8.719 kB / 0.8792 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.002225, allocations: 4 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.002245, allocations: 17.42 kB / 0.8793 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.002273, allocations: 19.92 kB / 0.8793 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.39e-05/0.002366, allocations: 43.77 kB / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.002369, allocations: 0 / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002369, allocations: 0.5 kB / 0.8793 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.002374, allocations: 0 / 0.8793 GB, free: 5.195 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.0003663/0.00274, allocations: 409.1 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.002781, allocations: 9.125 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.002824, allocations: 16.89 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.002959, allocations: 140.4 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.002974, allocations: 12.81 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.002985, allocations: 4.375 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.003272, allocations: 86.27 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.00328, allocations: 1.312 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.003291, allocations: 4.375 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.003299, allocations: 384 / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.003346, allocations: 36.86 kB / 0.88 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.003839, allocations: 0.7453 MB / 0.8807 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.123e-05/0.00393, allocations: 270.5 kB / 0.881 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.003963, allocations: 126.9 kB / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.003988, allocations: 119.2 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.004029, allocations: 162.1 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.004031, allocations: 3.938 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.178e-05/0.004093, allocations: 33.66 kB / 0.8814 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.004148, allocations: 177.9 kB / 0.8816 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.004263, allocations: 200.8 kB / 0.8818 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.004272, allocations: 25.7 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.004347, allocations: 178.5 kB / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.00435, allocations: 0 / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.004382, allocations: 31.33 kB / 0.882 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.004488, allocations: 0.4884 MB / 0.8825 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.004503, allocations: 4 kB / 0.8825 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.35e-05/0.004547, allocations: 81.42 kB / 0.8826 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.004613, allocations: 84.19 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.004616, allocations: 5.094 kB / 0.8826 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.004737, allocations: 81.5 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.004752, allocations: 8 kB / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.004757, allocations: 0 / 0.8827 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.004771, allocations: 4 kB / 0.8827 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.004833, allocations: 19.92 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.004842, allocations: 7.938 kB / 0.8828 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.004867, allocations: 11.95 kB / 0.8828 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.004873, allocations: 7.984 kB / 0.8828 GB, free: 1.359 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 8.599e-05/0.004959, allocations: 280 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.005007, allocations: 160.8 kB / 0.8832 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.461e-05/0.005052, allocations: 160.7 kB / 0.8833 GB, free: 0.7461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.423e-05/0.005106, allocations: 268 kB / 0.8836 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-05/0.005161, allocations: 268 kB / 0.8839 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.859e-05/0.005229, allocations: 272.1 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.005417, allocations: 0.5115 MB / 0.8846 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.709e-05/0.005454, allocations: 144.9 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.00549, allocations: 152.8 kB / 0.8849 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-05/0.005566, allocations: 272 kB / 0.8852 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.005651, allocations: 264.1 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.599e-05/0.005727, allocations: 272 kB / 0.8857 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-05/0.005811, allocations: 268.1 kB / 0.8859 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.00599, allocations: 459.8 kB / 0.8864 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.006058, allocations: 148.8 kB / 0.8865 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.00615, allocations: 272 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.006219, allocations: 148.9 kB / 0.8869 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.006565, allocations: 276.3 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.006608, allocations: 148.8 kB / 0.8873 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.006677, allocations: 139.2 kB / 0.8875 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006677, allocations: 0 / 0.8875 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001738/0.006851, allocations: 8 kB / 0.8875 GB, free: 12.36 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.00015/0.007001, allocations: 218.4 kB / 0.8877 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.007141, allocations: 39.59 kB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.007144, allocations: 0 / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.007145, allocations: 0 / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.007542, allocations: 0.7079 MB / 0.8884 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.0079, allocations: 273.7 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.007946, allocations: 63.78 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.00799, allocations: 8.734 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.008016, allocations: 8.5 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of SimCode: time 7.92e-07/0.008017, allocations: 4 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of Templates: time 0.002222/0.01024, allocations: 315.8 kB / 0.889 GB, free: 10.67 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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.273643066175282]