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.001438/0.001438, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001461/0.001461, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9561/0.9561, allocations: 177.2 MB / 204.2 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.942/1.942, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.903e-06/1.903e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/3.187e-05, allocations: 5.875 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001575/0.001607, allocations: 0.8187 MB / 0.8123 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001411/0.001748, allocations: 46.12 kB / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.833e-05/0.001807, allocations: 0 / 0.8124 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.596e-05/0.001853, allocations: 11.86 kB / 0.8124 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.646e-05/0.001949, allocations: 7.875 kB / 0.8124 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.336e-05/0.002002, allocations: 23.97 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.002129, allocations: 65.38 kB / 0.8125 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.002265, allocations: 31.86 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.002374, allocations: 51.81 kB / 0.8126 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.898e-05/0.002413, allocations: 7.984 kB / 0.8126 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.002435, allocations: 8.531 kB / 0.8126 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-06/0.002444, allocations: 5.312 kB / 0.8126 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.002466, allocations: 15.92 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.051e-05/0.002497, allocations: 19.92 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.0026, allocations: 47.7 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.002603, allocations: 0.5312 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002604, allocations: 1.375 kB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.002609, allocations: 0 / 0.8127 GB, free: 0.6094 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.0004263/0.003036, allocations: 404.3 kB / 0.8131 GB, free: 180 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.003086, allocations: 8.031 kB / 0.8131 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.00314, allocations: 18.05 kB / 0.8131 GB, free: 156 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.003312, allocations: 136.4 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.003326, allocations: 8.375 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.003338, allocations: 5.562 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.003483, allocations: 100.1 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.003492, allocations: 192 / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.003503, allocations: 5.5 kB / 0.8133 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.003514, allocations: 4.375 kB / 0.8133 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.00356, allocations: 23.86 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.004144, allocations: 0.7461 MB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.004254, allocations: 266.8 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.009e-05/0.004294, allocations: 130.9 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.004323, allocations: 119.2 kB / 0.8146 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.004374, allocations: 154.2 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.004375, allocations: 0 / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.006e-05/0.004445, allocations: 37.69 kB / 0.8148 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.00451, allocations: 182.5 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.004641, allocations: 199.9 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.004651, allocations: 28.42 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.811e-05/0.004729, allocations: 170.5 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-06/0.004734, allocations: 4 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.00477, allocations: 31.36 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.004901, allocations: 496.1 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.004923, allocations: 7.984 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.435e-05/0.004968, allocations: 69.5 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.005046, allocations: 96.33 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.005049, allocations: 5.719 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001376/0.005187, allocations: 86.27 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.005204, allocations: 8 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.005209, allocations: 0.5312 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.005224, allocations: 4.719 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.472e-05/0.005289, allocations: 19.92 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.005296, allocations: 8.781 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.00532, allocations: 3.938 kB / 0.8161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.005326, allocations: 4.844 kB / 0.8161 GB, free: 12.79 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.248e-05/0.005419, allocations: 279.8 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.041e-05/0.005469, allocations: 158.1 kB / 0.8165 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.005523, allocations: 160.7 kB / 0.8167 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/0.005584, allocations: 264.1 kB / 0.8169 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-05/0.005653, allocations: 280.8 kB / 0.8172 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-05/0.00572, allocations: 268.1 kB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.005918, allocations: 0.5076 MB / 0.818 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-05/0.005955, allocations: 146.1 kB / 0.8181 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.005996, allocations: 152.9 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.491e-05/0.006061, allocations: 272 kB / 0.8185 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.98e-05/0.006131, allocations: 269.4 kB / 0.8188 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.415e-05/0.006195, allocations: 268.2 kB / 0.819 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.837e-05/0.006263, allocations: 268.1 kB / 0.8193 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.006417, allocations: 457 kB / 0.8197 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.006477, allocations: 152.8 kB / 0.8199 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/0.006555, allocations: 272 kB / 0.8201 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.00661, allocations: 145.9 kB / 0.8203 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.539e-05/0.006686, allocations: 272.3 kB / 0.8205 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.723e-05/0.006723, allocations: 152.8 kB / 0.8207 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.006787, allocations: 146.4 kB / 0.8208 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006787, allocations: 0 / 0.8208 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001688/0.006956, allocations: 15.89 kB / 0.8208 GB, free: 7.797 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.000145/0.007101, allocations: 215.5 kB / 0.821 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.007228, allocations: 41.44 kB / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.007231, allocations: 0 / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.007233, allocations: 3.938 kB / 0.8211 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.007598, allocations: 0.707 MB / 0.8218 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.007946, allocations: 271 kB / 0.822 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.007991, allocations: 68.39 kB / 0.8221 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.008032, allocations: 9.625 kB / 0.8221 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.008059, allocations: 13.16 kB / 0.8221 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of SimCode: time 1.222e-06/0.008061, allocations: 0 / 0.8221 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of Templates: time 0.002156/0.01022, allocations: 318.6 kB / 0.8224 GB, free: 6.121 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.210868758149445]