Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.4 kB / 16.37 MB, free: 5.953 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.001302/0.001302, allocations: 190.2 kB / 17.3 MB, free: 5.578 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.517/1.517, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.42 kB / 0.8774 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3659, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002234/0.3682, allocations: 0.5741 MB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 5.052e-05/0.3682, allocations: 4 kB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.3683, allocations: 0 / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.3683, allocations: 7.938 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.3684, allocations: 0 / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.956e-05/0.3684, allocations: 0 / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.3685, allocations: 4 kB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/0.3686, allocations: 4 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.3686, allocations: 3.984 kB / 1.027 GB, free: 1.414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.308e-05/0.3686, allocations: 3.984 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3686, allocations: 0 / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.3686, allocations: 0 / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3687, allocations: 0 / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.3687, allocations: 3.938 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.845e-05/0.3688, allocations: 4 kB / 1.027 GB, free: 1.402 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3688, allocations: 4 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3688, allocations: 0 / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3688, allocations: 0 / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002994/0.3691, allocations: 307.6 kB / 1.028 GB, free: 1.047 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3692, allocations: 12.06 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.3692, allocations: 4.875 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3693, allocations: 164.4 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.3693, allocations: 384 / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.3693, allocations: 384 / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.706e-05/0.3694, allocations: 38.2 kB / 1.028 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.3694, allocations: 4.172 kB / 1.028 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3694, allocations: 3.938 kB / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.3695, allocations: 0 / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.538e-05/0.3695, allocations: 0 / 1.028 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.3696, allocations: 153.7 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.3697, allocations: 17.03 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.3697, allocations: 12.95 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.3697, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.3697, allocations: 38.5 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3698, allocations: 0 / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001224/0.3699, allocations: 37.64 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3699, allocations: 51.41 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.109e-05/0.37, allocations: 89.86 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.37, allocations: 33.83 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.37, allocations: 80.14 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.3701, allocations: 0 / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.3701, allocations: 13.7 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3702, allocations: 310.8 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.3702, allocations: 7.938 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.3702, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.3703, allocations: 16.86 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3703, allocations: 4 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.656e-05/0.3703, allocations: 29.7 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3704, allocations: 6.812 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3704, allocations: 3.984 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3704, allocations: 3.938 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.194e-05/0.3704, allocations: 4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3705, allocations: 3.984 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-06/0.3705, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.3705, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 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 (1): * Single equations (assignments): 1 * 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 6.477e-05/0.3705, allocations: 117.8 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.3706, allocations: 0 / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.3706, allocations: 11.06 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3706, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3706, allocations: 3.938 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.3706, allocations: 0 / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.674e-05/0.3707, allocations: 145.7 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.3707, allocations: 3.938 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.3707, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.3707, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3707, allocations: 11.94 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3707, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3707, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.3708, allocations: 57.14 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.3709, allocations: 81.09 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.3709, allocations: 3.938 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.3709, allocations: 0 / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.3709, allocations: 4.031 kB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3709, allocations: 4 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.3709, allocations: 75.28 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3709, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001742/0.3711, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 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 (1): * Single equations (assignments): 1 * 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.0001445/0.3713, allocations: 99.19 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.556e-05/0.3714, allocations: 4 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3714, allocations: 4 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-06/0.3714, allocations: 11.98 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.3715, allocations: 4 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/0.3718, allocations: 89.47 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.3721, allocations: 0.6729 MB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.3721, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.116e-05/0.3722, allocations: 7.438 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3722, allocations: 0 / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of Templates: time 0.002042/0.3742, allocations: 169 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1)