Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00145/0.00145, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001035/0.001035, allocations: 170.3 kB / 24.86 MB, free: 9.277 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.9611/0.9611, allocations: 177.1 MB / 205.3 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.912/1.912, allocations: 377.9 MB / 0.6247 GB, free: 8.457 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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8128 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.107e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.004844/0.004865, allocations: 0.816 MB / 0.8136 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001292/0.004995, allocations: 40.59 kB / 0.8136 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.005053, allocations: 5 kB / 0.8136 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.005091, allocations: 11.81 kB / 0.8136 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.351e-05/0.005175, allocations: 9.406 kB / 0.8136 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.23e-05/0.005227, allocations: 19.97 kB / 0.8137 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.005335, allocations: 59.83 kB / 0.8137 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005453, allocations: 27.98 kB / 0.8137 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.005566, allocations: 53.52 kB / 0.8138 GB, free: 476 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.005608, allocations: 15.92 kB / 0.8138 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.005629, allocations: 4 kB / 0.8138 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.005638, allocations: 4 kB / 0.8138 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.005661, allocations: 17.64 kB / 0.8138 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.005687, allocations: 19.92 kB / 0.8139 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.967e-05/0.005777, allocations: 35.83 kB / 0.8139 GB, free: 380 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005779, allocations: 0 / 0.8139 GB, free: 380 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.954e-06/0.005781, allocations: 4 kB / 0.8139 GB, free: 376 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.005784, allocations: 1.344 kB / 0.8139 GB, free: 376 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.0003742/0.006158, allocations: 404.2 kB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006196, allocations: 16.02 kB / 0.8143 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.006231, allocations: 22.73 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.006366, allocations: 132.5 kB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.006377, allocations: 8.312 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.006388, allocations: 8.375 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.0065, allocations: 89.44 kB / 0.8145 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006507, allocations: 2.531 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.006516, allocations: 4.375 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.006524, allocations: 4.375 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.009598, allocations: 23.86 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.01007, allocations: 0.7223 MB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.835e-05/0.01015, allocations: 270.3 kB / 0.8155 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.01019, allocations: 130.9 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.01022, allocations: 119.7 kB / 0.8158 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.01027, allocations: 158.2 kB / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.01027, allocations: 0 / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.468e-05/0.01032, allocations: 33.66 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.01038, allocations: 174.5 kB / 0.8161 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.0105, allocations: 200.4 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.01051, allocations: 26.36 kB / 0.8163 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.01059, allocations: 183.7 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.01059, allocations: 0 / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.01062, allocations: 31.36 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.01074, allocations: 496.1 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-06/0.01075, allocations: 5.156 kB / 0.817 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.0108, allocations: 77.47 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/0.01087, allocations: 91.89 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01087, allocations: 0.5 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001194/0.01099, allocations: 87.64 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.011, allocations: 7.984 kB / 0.8173 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01101, allocations: 5.719 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.01102, allocations: 0 / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.097e-05/0.01107, allocations: 12 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01108, allocations: 4 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.01111, allocations: 11.89 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.01111, allocations: 4.812 kB / 0.8173 GB, free: 12.58 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.756e-05/0.01121, allocations: 285.9 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.01127, allocations: 152.9 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.01132, allocations: 156.6 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/0.01139, allocations: 272 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.844e-05/0.01146, allocations: 268 kB / 0.8184 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.147e-05/0.01153, allocations: 280 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.01197, allocations: 494.6 kB / 0.8191 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.01201, allocations: 152.8 kB / 0.8193 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.01204, allocations: 144.9 kB / 0.8194 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.897e-05/0.0121, allocations: 268 kB / 0.8197 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.974e-05/0.01216, allocations: 268.1 kB / 0.8199 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.87e-05/0.01222, allocations: 268.1 kB / 0.8202 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.157e-05/0.01228, allocations: 272.5 kB / 0.8205 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003138/0.01542, allocations: 452.4 kB / 0.8209 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.01548, allocations: 160.8 kB / 0.821 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.01556, allocations: 269.4 kB / 0.8213 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.01563, allocations: 148.8 kB / 0.8214 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.01571, allocations: 268.4 kB / 0.8217 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.01574, allocations: 153.5 kB / 0.8218 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.0158, allocations: 143.2 kB / 0.822 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0158, allocations: 0.6562 kB / 0.822 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002257/0.01603, allocations: 7.953 kB / 0.822 GB, free: 7.625 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.0001079/0.01613, allocations: 220.9 kB / 0.8222 GB, free: 7.402 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.556e-05/0.01621, allocations: 43.56 kB / 0.8222 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01621, allocations: 0 / 0.8222 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.01621, allocations: 0 / 0.8222 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.0166, allocations: 0.7062 MB / 0.8229 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.01687, allocations: 269.6 kB / 0.8232 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.08e-05/0.01691, allocations: 61.44 kB / 0.8232 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.868e-05/0.01695, allocations: 8.719 kB / 0.8233 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.01699, allocations: 75.23 kB / 0.8233 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.01699, allocations: 0 / 0.8233 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.005076/0.02207, allocations: 335.8 kB / 0.8236 GB, free: 5.875 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.16729930927977]