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.0009898/0.0009899, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006593/0.006594, allocations: 172.5 kB / 16.27 MB, free: 6.652 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.587/1.587, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004997/0.0004997, allocations: 14.5 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.461, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.0009682/0.462, allocations: 319.4 kB / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.972e-05/0.4621, allocations: 0 / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.4621, allocations: 0 / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.4621, allocations: 4 kB / 1.074 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.916e-05/0.4622, allocations: 4 kB / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.577e-05/0.4622, allocations: 0 / 1.074 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.4623, allocations: 4 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.4624, allocations: 0 / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.4624, allocations: 3.938 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.4624, allocations: 4 kB / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.4624, allocations: 0 / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-06/0.4624, allocations: 0 / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.4625, allocations: 0 / 1.074 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.4625, allocations: 25.7 kB / 1.075 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.46e-05/0.4626, allocations: 7.984 kB / 1.075 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4626, allocations: 0 / 1.075 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4626, allocations: 0 / 1.075 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4626, allocations: 0 / 1.075 GB, free: 7.156 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.0003885/0.463, allocations: 312.8 kB / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4631, allocations: 8.031 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.4631, allocations: 0.9375 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.4632, allocations: 172.3 kB / 1.075 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.4632, allocations: 4.375 kB / 1.075 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.4633, allocations: 8.375 kB / 1.075 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.4634, allocations: 26.27 kB / 1.075 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4634, allocations: 4.172 kB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.4634, allocations: 3.938 kB / 1.075 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4634, allocations: 0 / 1.075 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.4635, allocations: 4 kB / 1.075 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.4636, allocations: 141.7 kB / 1.075 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.4638, allocations: 22.52 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.4638, allocations: 12.95 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.4638, allocations: 0 / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4639, allocations: 30.56 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.352e-06/0.4639, allocations: 0 / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.4641, allocations: 41.62 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.4641, allocations: 51.41 kB / 1.075 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.4642, allocations: 93.98 kB / 1.075 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4642, allocations: 29.7 kB / 1.075 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.4642, allocations: 80.14 kB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.4643, allocations: 3.938 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.4643, allocations: 9.719 kB / 1.076 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4645, allocations: 310.8 kB / 1.076 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.4645, allocations: 4 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.4645, allocations: 0 / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.4646, allocations: 12.92 kB / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4646, allocations: 0 / 1.076 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.763e-05/0.4647, allocations: 37.69 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4647, allocations: 4 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.4647, allocations: 0 / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.4647, allocations: 7.875 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.4648, allocations: 4 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4648, allocations: 3.938 kB / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.4649, allocations: 0 / 1.076 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.4649, allocations: 0 / 1.076 GB, free: 5.516 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 9.047e-05/0.465, allocations: 113.9 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.465, allocations: 3.906 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.465, allocations: 11 kB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.465, allocations: 3.984 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.465, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.465, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.4652, allocations: 145.7 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4652, allocations: 0 / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.717e-05/0.4652, allocations: 4 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4652, allocations: 3.984 kB / 1.076 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4652, allocations: 7.938 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.4652, allocations: 0 / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4652, allocations: 0 / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.104e-05/0.4653, allocations: 57.12 kB / 1.076 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.4654, allocations: 77.11 kB / 1.076 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4654, allocations: 7.875 kB / 1.076 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.4654, allocations: 4 kB / 1.076 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.4654, allocations: 4.031 kB / 1.076 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.4654, allocations: 8 kB / 1.076 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.4655, allocations: 77.45 kB / 1.076 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4655, allocations: 0 / 1.076 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001839/0.4657, allocations: 0 / 1.076 GB, free: 4.902 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.0001916/0.4659, allocations: 99.23 kB / 1.076 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.652e-05/0.466, allocations: 4 kB / 1.076 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.466, allocations: 4.062 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-06/0.466, allocations: 4 kB / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.4662, allocations: 288 / 1.077 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.4664, allocations: 88.66 kB / 1.077 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.4668, allocations: 0.6731 MB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.4668, allocations: 4 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.4668, allocations: 7.438 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4668, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of Templates: time 0.002309/0.4691, allocations: 165 kB / 1.077 GB, free: 3.797 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)