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.0009546/0.0009546, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001012/0.001012, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9892/0.9892, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.961/1.961, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.914e-06/1.914e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.785e-05, allocations: 3.438 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001853/0.001881, allocations: 0.8236 MB / 0.8123 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.002009, allocations: 44.31 kB / 0.8124 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.334e-05/0.002062, allocations: 0.9375 kB / 0.8124 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.002099, allocations: 7.875 kB / 0.8124 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.188e-05/0.00218, allocations: 12.78 kB / 0.8124 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.971e-05/0.00223, allocations: 19.97 kB / 0.8124 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.002336, allocations: 63.83 kB / 0.8125 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.002467, allocations: 32.86 kB / 0.8125 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.00256, allocations: 43.83 kB / 0.8125 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.002603, allocations: 16.7 kB / 0.8126 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.002628, allocations: 4 kB / 0.8126 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.002638, allocations: 9.688 kB / 0.8126 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.002658, allocations: 11.92 kB / 0.8126 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.002689, allocations: 23.92 kB / 0.8126 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.002797, allocations: 51.75 kB / 0.8127 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.0028, allocations: 1.531 kB / 0.8127 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.332e-06/0.002801, allocations: 0 / 0.8127 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.002805, allocations: 0 / 0.8127 GB, free: 0.9336 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.0003894/0.003195, allocations: 404.3 kB / 0.813 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.003233, allocations: 8.75 kB / 0.8131 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.003277, allocations: 12.89 kB / 0.8131 GB, free: 492 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.003453, allocations: 141.2 kB / 0.8132 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.003467, allocations: 8.359 kB / 0.8132 GB, free: 316 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.003481, allocations: 9.969 kB / 0.8132 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.003611, allocations: 85.52 kB / 0.8133 GB, free: 208 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003618, allocations: 4.188 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.003628, allocations: 384 / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.003637, allocations: 2.969 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.548e-05/0.003692, allocations: 31.86 kB / 0.8133 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.004144, allocations: 458.3 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.004202, allocations: 66.31 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.004235, allocations: 19.38 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.004242, allocations: 0.5312 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.004266, allocations: 38.09 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.004267, allocations: 0 / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.004425, allocations: 51.78 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.004463, allocations: 77.11 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.004581, allocations: 189.8 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.004591, allocations: 25.7 kB / 0.8142 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.004662, allocations: 155.2 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.004673, allocations: 15.83 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.004706, allocations: 19.97 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.004829, allocations: 0.4931 MB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.004844, allocations: 0 / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/0.004865, allocations: 24.53 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.036e-05/0.004906, allocations: 27.36 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.004908, allocations: 1.375 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.058e-05/0.004989, allocations: 53.59 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.005005, allocations: 12.41 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005009, allocations: 0 / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.005022, allocations: 0 / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.005078, allocations: 7.984 kB / 0.815 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.005087, allocations: 7.938 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.005108, allocations: 4.656 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.005112, allocations: 0 / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.532e-05/0.005187, allocations: 165.6 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.005222, allocations: 4 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.005245, allocations: 4.625 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.005248, allocations: 3.984 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.005251, allocations: 0 / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.005257, allocations: 12.77 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.005601, allocations: 0.5443 MB / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005603, allocations: 0 / 0.8157 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.005622, allocations: 7.984 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.005625, allocations: 0 / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.005633, allocations: 3.938 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.005635, allocations: 3.938 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.005636, allocations: 6.781 kB / 0.8158 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.866e-05/0.005704, allocations: 84.09 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.005722, allocations: 3.984 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.005735, allocations: 7.938 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.005747, allocations: 3.938 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.391e-05/0.005761, allocations: 0 / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.005763, allocations: 0 / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.005818, allocations: 140.7 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.005818, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001914/0.00601, allocations: 19.89 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.338e-05/0.006103, allocations: 95.78 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.006184, allocations: 20.23 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006186, allocations: 0.5625 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.006197, allocations: 17 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.006342, allocations: 8 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.006637, allocations: 167.3 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.877e-05/0.006676, allocations: 64 kB / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.006703, allocations: 0 / 0.8164 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.006728, allocations: 16.22 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of SimCode: time 6.42e-07/0.006728, allocations: 0 / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.002145/0.008873, allocations: 347.7 kB / 0.8167 GB, free: 12.41 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.398811435094103]