Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001271/0.001271, 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.001829/0.001829, allocations: 161.4 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.9709/0.9709, 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.852/1.852, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.458e-05, allocations: 5.406 kB / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001536/0.00156, allocations: 0.8213 MB / 0.8124 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000121/0.001681, allocations: 39.84 kB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.001731, allocations: 9 kB / 0.8124 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.001766, allocations: 7.875 kB / 0.8124 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.001834, allocations: 7.875 kB / 0.8124 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.822e-05/0.001872, allocations: 16.61 kB / 0.8124 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.001959, allocations: 67.83 kB / 0.8125 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.002062, allocations: 29.31 kB / 0.8125 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.00215, allocations: 47.78 kB / 0.8126 GB, free: 0.6758 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.002184, allocations: 15.92 kB / 0.8126 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.002202, allocations: 5.094 kB / 0.8126 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-06/0.002208, allocations: 4 kB / 0.8126 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.002225, allocations: 19.91 kB / 0.8126 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.002252, allocations: 16.62 kB / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.923e-05/0.002331, allocations: 39.83 kB / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.002332, allocations: 0.9062 kB / 0.8127 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.52e-07/0.002333, allocations: 4 kB / 0.8127 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.002337, allocations: 0.6562 kB / 0.8127 GB, free: 0.5742 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.0003308/0.002668, allocations: 404.2 kB / 0.8131 GB, free: 144 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.002698, allocations: 12.91 kB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.002726, allocations: 16.89 kB / 0.8131 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.002846, allocations: 141.7 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-06/0.002855, allocations: 4.359 kB / 0.8132 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.002864, allocations: 12.38 kB / 0.8132 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.002971, allocations: 87.42 kB / 0.8133 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.002977, allocations: 4.125 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.002986, allocations: 4.375 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.002992, allocations: 384 / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.003038, allocations: 31.86 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.003484, allocations: 0.7501 MB / 0.8141 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.043e-05/0.003564, allocations: 261.6 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.003599, allocations: 135.8 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.003626, allocations: 123.2 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.003668, allocations: 157.3 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.003669, allocations: 0 / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.079e-05/0.00371, allocations: 34.78 kB / 0.8148 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.003759, allocations: 174.5 kB / 0.8149 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.00385, allocations: 196.3 kB / 0.8151 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.003858, allocations: 30.22 kB / 0.8151 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.003922, allocations: 174.5 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.003924, allocations: 5.281 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.003951, allocations: 27.38 kB / 0.8153 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.004071, allocations: 0.4922 MB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.313e-05/0.004084, allocations: 9.094 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.004126, allocations: 81.45 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.442e-05/0.004191, allocations: 92.03 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.004192, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001045/0.004297, allocations: 87.61 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.004308, allocations: 7.156 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.004313, allocations: 4 kB / 0.8161 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.004323, allocations: 5.531 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.004369, allocations: 11.98 kB / 0.8161 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.004374, allocations: 7.938 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.004394, allocations: 7.953 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.004399, allocations: 4.5 kB / 0.8161 GB, free: 12.74 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.661e-05/0.004486, allocations: 288.5 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.004531, allocations: 148.9 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.004572, allocations: 154.4 kB / 0.8167 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.253e-05/0.004635, allocations: 276 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.125e-05/0.004696, allocations: 268 kB / 0.8172 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-05/0.004763, allocations: 272 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.004938, allocations: 0.5082 MB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.751e-05/0.004975, allocations: 152.9 kB / 0.8181 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.005013, allocations: 153.5 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.871e-05/0.005082, allocations: 264.1 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.005155, allocations: 276.6 kB / 0.8188 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.506e-05/0.00522, allocations: 264.9 kB / 0.819 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-05/0.005295, allocations: 268 kB / 0.8193 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.005426, allocations: 452.8 kB / 0.8197 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.005471, allocations: 160.8 kB / 0.8199 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.005535, allocations: 264.1 kB / 0.8201 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.00559, allocations: 158.2 kB / 0.8203 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.005654, allocations: 264.4 kB / 0.8205 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.00569, allocations: 148.8 kB / 0.8207 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.005742, allocations: 150.2 kB / 0.8208 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005742, allocations: 0 / 0.8208 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001411/0.005883, allocations: 11.95 kB / 0.8208 GB, free: 7.75 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 8.657e-05/0.005969, allocations: 220.3 kB / 0.821 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.006036, allocations: 32.41 kB / 0.8211 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006037, allocations: 4 kB / 0.8211 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.006038, allocations: 3.438 kB / 0.8211 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.006322, allocations: 0.7062 MB / 0.8218 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.006536, allocations: 269.7 kB / 0.822 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.00657, allocations: 64.45 kB / 0.8221 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.949e-05/0.0066, allocations: 9.844 kB / 0.8221 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.006617, allocations: 8.5 kB / 0.8221 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.006617, allocations: 3.938 kB / 0.8221 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of Templates: time 0.001664/0.008282, allocations: 319.6 kB / 0.8224 GB, free: 6.082 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.078477160073817]