Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.001505/0.001505, allocations: 81.95 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.001089/0.001089, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9544/0.9544, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.969/1.969, allocations: 377.9 MB / 0.6247 GB, free: 8.438 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.437e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001461/0.001485, allocations: 0.8082 MB / 0.8136 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001037/0.001589, allocations: 48.56 kB / 0.8136 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.001635, allocations: 0 / 0.8136 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.001668, allocations: 12.77 kB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.001741, allocations: 11.88 kB / 0.8137 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.028e-05/0.001781, allocations: 19.97 kB / 0.8137 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.001867, allocations: 66.09 kB / 0.8137 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.001978, allocations: 31.97 kB / 0.8138 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.002066, allocations: 39.89 kB / 0.8138 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.002101, allocations: 19.92 kB / 0.8138 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.002116, allocations: 4 kB / 0.8138 GB, free: 432 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-06/0.002122, allocations: 5.344 kB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.00214, allocations: 11.94 kB / 0.8138 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.002163, allocations: 19.91 kB / 0.8139 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.002243, allocations: 43.77 kB / 0.8139 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.002245, allocations: 1.594 kB / 0.8139 GB, free: 352 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002246, allocations: 0 / 0.8139 GB, free: 352 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.002251, allocations: 0 / 0.8139 GB, free: 352 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.000324/0.002575, allocations: 408.2 kB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.002606, allocations: 9.781 kB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.002635, allocations: 16.89 kB / 0.8143 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.003039, allocations: 144.4 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.00305, allocations: 8.375 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.003058, allocations: 5.219 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.003152, allocations: 89.5 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.00316, allocations: 192 / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.00317, allocations: 8.906 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.003175, allocations: 1.094 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.003202, allocations: 23.86 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.003594, allocations: 0.7203 MB / 0.8153 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.003673, allocations: 269.4 kB / 0.8156 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.003703, allocations: 130.9 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.003729, allocations: 127.2 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.003767, allocations: 157.1 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.003768, allocations: 1.375 kB / 0.8159 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.797e-05/0.003816, allocations: 33.66 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.003873, allocations: 174.6 kB / 0.8161 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.003971, allocations: 195.7 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.003978, allocations: 30.84 kB / 0.8164 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.004044, allocations: 182.4 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.004045, allocations: 0 / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.004071, allocations: 28.55 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.004176, allocations: 0.4923 MB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.004183, allocations: 4 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.00422, allocations: 78.58 kB / 0.8171 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.004281, allocations: 88.33 kB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004283, allocations: 0 / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000101/0.004384, allocations: 83.52 kB / 0.8173 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.004396, allocations: 8 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.004401, allocations: 0 / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/0.00441, allocations: 5.312 kB / 0.8173 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.004456, allocations: 19.92 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.00446, allocations: 4 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.004483, allocations: 9.547 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.004486, allocations: 4 kB / 0.8173 GB, free: 12.55 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.135e-05/0.004567, allocations: 287.6 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.004612, allocations: 152.8 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.004654, allocations: 159.4 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/0.004706, allocations: 268 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.177e-05/0.004758, allocations: 264.1 kB / 0.8184 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-05/0.004835, allocations: 280 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.004996, allocations: 492.4 kB / 0.8192 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-05/0.005027, allocations: 148.9 kB / 0.8193 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.005058, allocations: 152.8 kB / 0.8194 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.298e-05/0.005111, allocations: 264.6 kB / 0.8197 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/0.005165, allocations: 264.6 kB / 0.8199 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.251e-05/0.005218, allocations: 272 kB / 0.8202 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.298e-05/0.005271, allocations: 266 kB / 0.8205 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.005392, allocations: 463.8 kB / 0.8209 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.005437, allocations: 156.8 kB / 0.821 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.005496, allocations: 264.1 kB / 0.8213 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.432e-05/0.00555, allocations: 152.9 kB / 0.8214 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.005632, allocations: 273.2 kB / 0.8217 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.00566, allocations: 144.9 kB / 0.8218 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.005703, allocations: 145.2 kB / 0.822 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005703, allocations: 0 / 0.822 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000157/0.00586, allocations: 12.61 kB / 0.822 GB, free: 7.602 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.0001383/0.005998, allocations: 221.4 kB / 0.8222 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.76e-05/0.006066, allocations: 39.53 kB / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006067, allocations: 0 / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.006068, allocations: 0 / 0.8222 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.006339, allocations: 0.7087 MB / 0.8229 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.006621, allocations: 269.7 kB / 0.8232 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.914e-05/0.00665, allocations: 59.34 kB / 0.8233 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.006683, allocations: 4.734 kB / 0.8233 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.006712, allocations: 71.14 kB / 0.8233 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of SimCode: time 1.302e-06/0.006714, allocations: 0 / 0.8233 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of Templates: time 0.001837/0.008551, allocations: 342.1 kB / 0.8236 GB, free: 5.855 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.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.247746156062931]