Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001037/0.001037, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.00129/0.00129, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9899/0.9899, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.874/1.874, allocations: 377.8 MB / 0.6236 GB, free: 8.582 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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8115 GB, free: 1.785 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.836e-05, allocations: 11.34 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001683/0.001711, allocations: 0.8184 MB / 0.8123 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.001842, allocations: 41.06 kB / 0.8124 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.001894, allocations: 0 / 0.8124 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.001939, allocations: 17.27 kB / 0.8124 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.002025, allocations: 7.875 kB / 0.8124 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.316e-05/0.002068, allocations: 19.98 kB / 0.8124 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.474e-05/0.002163, allocations: 59.78 kB / 0.8125 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.002279, allocations: 32.64 kB / 0.8125 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.002367, allocations: 39.91 kB / 0.8126 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.002406, allocations: 16.83 kB / 0.8126 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.002428, allocations: 4 kB / 0.8126 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.002435, allocations: 4.656 kB / 0.8126 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.002454, allocations: 19.86 kB / 0.8126 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.002481, allocations: 16.52 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.138e-05/0.002573, allocations: 45.08 kB / 0.8127 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.002575, allocations: 0 / 0.8127 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5e-07/0.002575, allocations: 0 / 0.8127 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.00258, allocations: 0 / 0.8127 GB, free: 0.6602 MB / 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.0003653/0.002945, allocations: 410.5 kB / 0.813 GB, free: 228 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.002985, allocations: 11.97 kB / 0.8131 GB, free: 216 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.003031, allocations: 16.89 kB / 0.8131 GB, free: 200 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.003175, allocations: 140.4 kB / 0.8132 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.003187, allocations: 4.375 kB / 0.8132 GB, free: 28 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.003199, allocations: 9.125 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.003345, allocations: 96.31 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.003353, allocations: 1.281 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.003363, allocations: 384 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.003373, allocations: 4.375 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.003418, allocations: 36.42 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.00393, allocations: 0.7458 MB / 0.8141 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.004042, allocations: 266.3 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.004088, allocations: 131 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.004116, allocations: 124 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.004159, allocations: 156.6 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.00416, allocations: 0 / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.586e-05/0.004216, allocations: 38.16 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.004272, allocations: 179.9 kB / 0.8149 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.004388, allocations: 192.1 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.004395, allocations: 29.7 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.004467, allocations: 178.4 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-06/0.00447, allocations: 1.281 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.004501, allocations: 31.38 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.004619, allocations: 496.1 kB / 0.8158 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.004633, allocations: 8.656 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.942e-05/0.004673, allocations: 77.42 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.084e-05/0.004744, allocations: 101.5 kB / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.004746, allocations: 0 / 0.816 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.004867, allocations: 84.98 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.004881, allocations: 4 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.004888, allocations: 4 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.004902, allocations: 0 / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.004957, allocations: 19.92 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.004965, allocations: 12.03 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.004988, allocations: 7.953 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.004993, allocations: 4 kB / 0.8161 GB, free: 12.82 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 8.731e-05/0.005081, allocations: 286 kB / 0.8164 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.005128, allocations: 148.9 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.005172, allocations: 156.7 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/0.005238, allocations: 272 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.65e-05/0.005305, allocations: 272 kB / 0.8172 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.393e-05/0.005369, allocations: 273.2 kB / 0.8175 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.005551, allocations: 0.5038 MB / 0.818 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-05/0.005584, allocations: 144.9 kB / 0.8181 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.005622, allocations: 154.3 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.985e-05/0.005682, allocations: 272.1 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.005743, allocations: 268 kB / 0.8188 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.748e-05/0.005811, allocations: 272.1 kB / 0.819 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-05/0.005883, allocations: 264.6 kB / 0.8193 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.006037, allocations: 459.8 kB / 0.8197 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.006091, allocations: 157.3 kB / 0.8199 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.006162, allocations: 265 kB / 0.8201 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.006216, allocations: 144.9 kB / 0.8203 GB, free: 8.414 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.00628, allocations: 277.2 kB / 0.8205 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.006314, allocations: 152.8 kB / 0.8207 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.382e-05/0.006368, allocations: 149.6 kB / 0.8208 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006368, allocations: 1.344 kB / 0.8208 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001547/0.006523, allocations: 7.953 kB / 0.8208 GB, free: 7.828 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 9.597e-05/0.006619, allocations: 214.9 kB / 0.821 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.289e-05/0.006701, allocations: 42.02 kB / 0.8211 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.006703, allocations: 0 / 0.8211 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.006704, allocations: 0 / 0.8211 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.007002, allocations: 0.7062 MB / 0.8218 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002515/0.007254, allocations: 274.5 kB / 0.822 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.007294, allocations: 68.45 kB / 0.8221 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.761e-05/0.007321, allocations: 2.953 kB / 0.8221 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/0.007341, allocations: 13.78 kB / 0.8221 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.007342, allocations: 0 / 0.8221 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of Templates: time 0.001812/0.009154, allocations: 318.7 kB / 0.8224 GB, free: 6.16 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.180033200420439]