Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001783/0.001783, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.505/1.505, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.92 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3564, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001945/0.3584, allocations: 0.5783 MB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 5.005e-05/0.3584, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.3585, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.3585, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.782e-05/0.3585, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.751e-05/0.3586, allocations: 3.938 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.751e-05/0.3586, allocations: 4 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.3587, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.416e-05/0.3587, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.781e-05/0.3587, allocations: 4 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3588, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-06/0.3588, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.3588, allocations: 3.984 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.3588, allocations: 4 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.366e-05/0.3589, allocations: 0 / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3589, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3589, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.3589, allocations: 3.984 kB / 1.069 GB, free: 9.785 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000287/0.3592, allocations: 307.6 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3592, allocations: 12.03 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.3593, allocations: 4.875 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3594, allocations: 160.4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3594, allocations: 384 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-06/0.3594, allocations: 8.312 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.973e-05/0.3595, allocations: 30.25 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.3595, allocations: 192 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.3595, allocations: 3.938 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.3596, allocations: 3.938 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.3596, allocations: 11.98 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.3597, allocations: 145.7 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.665e-05/0.3598, allocations: 14.58 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.3598, allocations: 8.953 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.3598, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3599, allocations: 34.55 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3599, allocations: 4 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.000122/0.36, allocations: 45.58 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.36, allocations: 51.41 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.675e-05/0.3601, allocations: 89.86 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3601, allocations: 25.7 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.3601, allocations: 80.14 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3602, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.3602, allocations: 13.72 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3603, allocations: 319 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-06/0.3603, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/0.3603, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.671e-05/0.3604, allocations: 16.78 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3604, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.022e-05/0.3604, allocations: 29.7 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3605, allocations: 9.406 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3605, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3605, allocations: 8.031 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.3606, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.3606, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.3606, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3606, allocations: 4 kB / 1.07 GB, free: 8.145 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 (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 7.164e-05/0.3607, allocations: 114.4 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.3607, allocations: 11.83 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.3607, allocations: 7.062 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3607, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3607, allocations: 4 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3607, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.852e-05/0.3608, allocations: 145.7 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3608, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.3609, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3609, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3609, allocations: 11.86 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3609, allocations: 7.938 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3609, allocations: 0 / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.553e-05/0.361, allocations: 57.14 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.361, allocations: 77.11 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.361, allocations: 3.938 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.361, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.361, allocations: 3.984 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-06/0.361, allocations: 0 / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.3611, allocations: 75.28 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3611, allocations: 0 / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001856/0.3613, allocations: 0 / 1.071 GB, free: 7.535 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 (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.000135/0.3614, allocations: 103.3 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.498e-05/0.3615, allocations: 15.94 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3615, allocations: 0 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.3615, allocations: 0 / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.3617, allocations: 4.281 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.3619, allocations: 95.58 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3621, allocations: 0.673 MB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.126e-05/0.3622, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.3622, allocations: 7.438 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3622, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.00206/0.3643, allocations: 176.8 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1)