Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 198.4 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 62.16 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4381, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002282/0.4405, allocations: 0.7749 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.4414, allocations: 0.804 MB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.15e-05/0.4415, allocations: 4 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.4415, allocations: 3.938 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.4416, allocations: 3.938 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.4417, allocations: 7.984 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.4418, allocations: 47.86 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.4419, allocations: 15.98 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.442, allocations: 15.92 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.4421, allocations: 23.91 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.4421, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.4421, allocations: 4 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.4422, allocations: 4 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.4422, allocations: 19.86 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.285e-05/0.4423, allocations: 35.88 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4423, allocations: 4 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4423, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4423, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005959/0.4429, allocations: 359.7 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.443, allocations: 8.031 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.443, allocations: 8.844 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.4432, allocations: 172.2 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.4432, allocations: 4.375 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.4432, allocations: 4.375 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.4435, allocations: 66.22 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4435, allocations: 192 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.4435, allocations: 11.92 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4435, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.4438, allocations: 63.94 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.4442, allocations: 268.8 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.4445, allocations: 62.47 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.4446, allocations: 36.92 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4446, allocations: 4 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4447, allocations: 34.55 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4447, allocations: 0 / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005677/0.4453, allocations: 129.5 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.4453, allocations: 51.41 kB / 1.07 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.4454, allocations: 113.8 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.4454, allocations: 25.7 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.4455, allocations: 88.03 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.4455, allocations: 7.906 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.4456, allocations: 13.72 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4457, allocations: 322.8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.4458, allocations: 35.95 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.446, allocations: 31.91 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.4463, allocations: 68.78 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4463, allocations: 7.938 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003177/0.4466, allocations: 97.56 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4466, allocations: 4 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4466, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4466, allocations: 4.328 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4468, allocations: 15.97 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.4468, allocations: 0 / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.4469, allocations: 15.98 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.4469, allocations: 0 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.239e-05/0.447, allocations: 118.4 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.447, allocations: 3.906 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.4474, allocations: 117.4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4474, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4474, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4474, allocations: 3.984 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.4476, allocations: 165.6 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4476, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.4477, allocations: 15.98 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4477, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.4478, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4478, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4478, allocations: 11.98 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.4481, allocations: 187.4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.4482, allocations: 84.95 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.4482, allocations: 3.938 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.4483, allocations: 23.98 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.4484, allocations: 3.984 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.4484, allocations: 4 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.512e-05/0.4484, allocations: 87.27 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4484, allocations: 0 / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002178/0.4487, allocations: 8 kB / 1.072 GB, free: 5.832 MB / 0.8262 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 (3): * Single equations (assignments): 3 * 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.0001674/0.4488, allocations: 95.25 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.4492, allocations: 71.92 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4492, allocations: 0 / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4493, allocations: 43.83 kB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.4497, allocations: 15.88 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.4501, allocations: 131.2 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.4504, allocations: 0.6809 MB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.4504, allocations: 3.984 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.4504, allocations: 7.438 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.4504, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of Templates: time 0.002835/0.4533, allocations: 0.5444 MB / 1.074 GB, free: 4.191 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1)