Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.001479/0.001479, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001786/0.001786, allocations: 170 kB / 24.87 MB, free: 9.191 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 1.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.981/1.981, allocations: 377.9 MB / 0.6247 GB, free: 8.434 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.322e-05, allocations: 3.094 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001594/0.001617, allocations: 0.8261 MB / 0.8136 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001034/0.00172, allocations: 41.03 kB / 0.8136 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.38e-05/0.001764, allocations: 4 kB / 0.8136 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.001794, allocations: 5.375 kB / 0.8136 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.001861, allocations: 7.875 kB / 0.8136 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.958e-05/0.001901, allocations: 23.97 kB / 0.8137 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.001986, allocations: 63.78 kB / 0.8137 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.002087, allocations: 28.62 kB / 0.8138 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.546e-05/0.002172, allocations: 45.09 kB / 0.8138 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.172e-05/0.002204, allocations: 11.92 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.002218, allocations: 4 kB / 0.8138 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.002226, allocations: 10.44 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/0.002244, allocations: 15.91 kB / 0.8138 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.002266, allocations: 19.94 kB / 0.8139 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.823e-05/0.002344, allocations: 39.83 kB / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002346, allocations: 0 / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002347, allocations: 0 / 0.8139 GB, free: 340 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.002351, allocations: 0 / 0.8139 GB, free: 340 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.0003395/0.002691, allocations: 413.4 kB / 0.8143 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.002722, allocations: 8.031 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.00275, allocations: 21.7 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.002868, allocations: 140.4 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.002879, allocations: 4.375 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.002888, allocations: 8.875 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.913e-05/0.002977, allocations: 86.31 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.002984, allocations: 4.125 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.002991, allocations: 1.5 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.002997, allocations: 4.375 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.003026, allocations: 23.86 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.003438, allocations: 0.7277 MB / 0.8153 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.289e-05/0.003521, allocations: 265.6 kB / 0.8155 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/0.003554, allocations: 134.9 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.003581, allocations: 125.1 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.003624, allocations: 156.6 kB / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.003625, allocations: 0 / 0.8159 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.992e-05/0.003675, allocations: 33.66 kB / 0.816 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.003729, allocations: 170.6 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.00384, allocations: 208.9 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.003848, allocations: 25.7 kB / 0.8164 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.003916, allocations: 174.4 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.003918, allocations: 0 / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.003949, allocations: 32.45 kB / 0.8166 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.004066, allocations: 0.4923 MB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-06/0.004072, allocations: 0 / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.00411, allocations: 74.02 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.454e-05/0.004175, allocations: 92.11 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.004177, allocations: 5.375 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001095/0.004287, allocations: 82.34 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.0043, allocations: 7.5 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004304, allocations: 4 kB / 0.8173 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.004315, allocations: 5.281 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.856e-05/0.004363, allocations: 12 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.004366, allocations: 0 / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.004392, allocations: 19.83 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.004397, allocations: 4.781 kB / 0.8173 GB, free: 12.54 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.418e-05/0.004491, allocations: 288.5 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.004544, allocations: 148.9 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.004593, allocations: 158.2 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.236e-05/0.004655, allocations: 268.1 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.978e-05/0.004715, allocations: 268.1 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.046e-05/0.004785, allocations: 276 kB / 0.8187 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.004968, allocations: 496.5 kB / 0.8192 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-05/0.005006, allocations: 154 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.005041, allocations: 144.9 kB / 0.8194 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.474e-05/0.005106, allocations: 268.1 kB / 0.8197 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.005175, allocations: 275.2 kB / 0.82 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.008e-05/0.005245, allocations: 268.1 kB / 0.8202 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.511e-05/0.00531, allocations: 272 kB / 0.8205 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.00544, allocations: 447.9 kB / 0.8209 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.005493, allocations: 160.8 kB / 0.821 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.005561, allocations: 268.1 kB / 0.8213 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.512e-05/0.005617, allocations: 148.8 kB / 0.8214 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.005677, allocations: 264.4 kB / 0.8217 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.005711, allocations: 153.3 kB / 0.8218 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.00576, allocations: 145.9 kB / 0.822 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00576, allocations: 0 / 0.822 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001562/0.005916, allocations: 15.95 kB / 0.822 GB, free: 7.582 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.0001101/0.006027, allocations: 211.5 kB / 0.8222 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.985e-05/0.006096, allocations: 36.64 kB / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006098, allocations: 1.344 kB / 0.8222 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.0061, allocations: 4 kB / 0.8222 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.006397, allocations: 0.7023 MB / 0.8229 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.006621, allocations: 280.1 kB / 0.8232 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.006652, allocations: 59.34 kB / 0.8233 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.006687, allocations: 7.781 kB / 0.8233 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.006718, allocations: 74.2 kB / 0.8233 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.006719, allocations: 0 / 0.8233 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of Templates: time 0.001801/0.00852, allocations: 334.8 kB / 0.8236 GB, free: 5.84 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.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.310640583280474]