Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0018/0.0018, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 65.84 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3669, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002202/0.3692, allocations: 0.7283 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008979/0.3701, allocations: 0.7962 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.3701, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.3702, allocations: 4 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.567e-05/0.3703, allocations: 3.938 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.3704, allocations: 11.97 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.3705, allocations: 24 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3706, allocations: 11.98 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.478e-05/0.3707, allocations: 11.88 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.3708, allocations: 11.98 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3708, allocations: 4 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.3708, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.3708, allocations: 7.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.3708, allocations: 11.94 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.845e-05/0.3709, allocations: 23.94 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.371, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.371, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.371, allocations: 0 / 1.069 GB, free: 9.125 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005803/0.3716, allocations: 335.7 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.3716, allocations: 12.03 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3717, allocations: 0.9375 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3718, allocations: 164.4 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3718, allocations: 4.375 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3719, allocations: 4.375 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3721, allocations: 46.23 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3721, allocations: 192 / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.3721, allocations: 7.938 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3721, allocations: 7.922 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3723, allocations: 39.89 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.3727, allocations: 249 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.3729, allocations: 38.5 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.373, allocations: 20.89 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.373, allocations: 3.938 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3731, allocations: 42.5 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3731, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003589/0.3734, allocations: 81.55 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.3735, allocations: 55.41 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.3736, allocations: 97.86 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3736, allocations: 29.83 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.3736, allocations: 80.14 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3737, allocations: 7.891 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3737, allocations: 17.72 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.3738, allocations: 310.8 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.3739, allocations: 19.98 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.374, allocations: 15.97 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3741, allocations: 44.83 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3741, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001774/0.3743, allocations: 65.59 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3743, allocations: 8 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3743, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3743, allocations: 0 / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.3744, allocations: 16.02 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3745, allocations: 4 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.167e-05/0.3745, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3745, allocations: 4 kB / 1.071 GB, free: 7.102 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 (2): * Single equations (assignments): 2 * 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 7.34e-05/0.3746, allocations: 109.8 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.3746, allocations: 0 / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.3748, allocations: 84.7 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3749, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3749, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3749, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.375, allocations: 157.6 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.375, allocations: 0 / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.625e-05/0.3751, allocations: 11.98 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3751, allocations: 3.938 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3751, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3751, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3751, allocations: 4.031 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.3754, allocations: 171.3 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.3754, allocations: 77.11 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.3754, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.3755, allocations: 7.984 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.3756, allocations: 4.031 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3756, allocations: 4 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.3756, allocations: 87.2 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3756, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002108/0.3758, allocations: 8 kB / 1.072 GB, free: 6.281 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 (2): * Single equations (assignments): 2 * 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.0001647/0.376, allocations: 99.19 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3762, allocations: 43.95 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3762, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.3763, allocations: 19.92 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.3766, allocations: 8.922 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.3769, allocations: 109.5 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.3772, allocations: 0.6769 MB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.3772, allocations: 4 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.3772, allocations: 11.44 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3772, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.002335/0.3796, allocations: 390.7 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1)