Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00135/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001771/0.001771, allocations: 191.9 kB / 16.25 MB, free: 6.637 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.504/1.504, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 73.33 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3693, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002143/0.3715, allocations: 0.6391 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 5.742e-05/0.3716, allocations: 11.94 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.3716, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.3716, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.3717, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.059e-05/0.3717, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.316e-05/0.3718, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.813e-05/0.3719, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.3719, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.287e-05/0.3719, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.372, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-06/0.372, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.372, allocations: 3.984 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.372, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.247e-05/0.3721, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3721, allocations: 3.984 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3721, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3721, allocations: 0 / 1.068 GB, free: 10.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003296/0.3725, allocations: 307.6 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3725, allocations: 8.031 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.3725, allocations: 8.875 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3727, allocations: 160.4 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.3727, allocations: 4.375 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3727, allocations: 8.297 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.056e-05/0.3728, allocations: 26.27 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3728, allocations: 192 / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3728, allocations: 3.938 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3728, allocations: 4 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.3728, allocations: 4 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.373, allocations: 141.7 kB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.379e-05/0.373, allocations: 22.61 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.3731, allocations: 8.797 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.3731, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3731, allocations: 42.61 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3731, allocations: 3.938 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.3733, allocations: 33.64 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.3733, allocations: 51.53 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.023e-05/0.3734, allocations: 93.86 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3734, allocations: 25.7 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.3734, allocations: 80.14 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.3734, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.3735, allocations: 17.72 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3736, allocations: 310.8 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.23e-05/0.3737, allocations: 3.938 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.065e-05/0.3737, allocations: 7.984 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.3737, allocations: 8.922 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3737, allocations: 0 / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.266e-05/0.3738, allocations: 37.7 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3738, allocations: 5.562 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3738, allocations: 0 / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3738, allocations: 3.938 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.3739, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3739, allocations: 7.984 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.3739, allocations: 0 / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3739, allocations: 4.031 kB / 1.07 GB, free: 8.453 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 8.284e-05/0.374, allocations: 113.8 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.374, allocations: 7.844 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.374, allocations: 7.062 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3741, allocations: 4 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3741, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3741, allocations: 3.984 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.389e-05/0.3742, allocations: 145.7 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3742, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.3742, allocations: 4 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3742, allocations: 7.984 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3742, allocations: 3.938 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3742, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3742, allocations: 0 / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.298e-05/0.3743, allocations: 55.31 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.3743, allocations: 81.11 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3743, allocations: 3.938 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-06/0.3744, allocations: 8.016 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.3744, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-06/0.3744, allocations: 3.938 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001057/0.3745, allocations: 75.28 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3745, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001747/0.3747, allocations: 7.938 kB / 1.07 GB, free: 7.836 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.0001358/0.3748, allocations: 99.25 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.995e-05/0.3749, allocations: 8 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3749, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-06/0.3749, allocations: 4 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.375, allocations: 4.281 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.3753, allocations: 97.41 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.3755, allocations: 0.669 MB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.25e-05/0.3755, allocations: 3.938 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.3756, allocations: 11.44 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3756, allocations: 4.125 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of Templates: time 0.002044/0.3776, allocations: 164.9 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1)