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.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00182/0.001821, allocations: 192.2 kB / 16.13 MB, free: 6.711 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.498/1.498, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 68.03 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.442, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002286/0.4444, allocations: 0.6313 MB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.192e-05/0.4444, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.4445, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.4445, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.077e-05/0.4445, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.328e-05/0.4446, allocations: 3.938 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.299e-05/0.4446, allocations: 3.984 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.321e-05/0.4447, allocations: 8 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.762e-05/0.4447, allocations: 0 / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.206e-05/0.4447, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.4448, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-06/0.4448, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.4448, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.4448, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 5.706e-05/0.4449, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4449, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4449, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.4449, allocations: 0 / 1.068 GB, free: 10.2 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.0003196/0.4452, allocations: 311.5 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.4453, allocations: 12.09 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.4453, allocations: 0.9375 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4454, allocations: 164.3 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.4455, allocations: 384 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.4455, allocations: 384 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.4456, allocations: 34.27 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.4456, allocations: 192 / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4456, allocations: 7.938 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4456, allocations: 3.938 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.4456, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.4458, allocations: 149.7 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.4459, allocations: 18.52 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.4459, allocations: 12.92 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.4459, allocations: 0 / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4459, allocations: 38.56 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.4459, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.4461, allocations: 37.58 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4461, allocations: 55.39 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.4462, allocations: 89.86 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4462, allocations: 25.7 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.4463, allocations: 84.14 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.4463, allocations: 7.984 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.4463, allocations: 13.84 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4465, allocations: 310.8 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.139e-05/0.4465, allocations: 4 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.4465, allocations: 0 / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.4465, allocations: 12.8 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4465, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.934e-05/0.4466, allocations: 33.7 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4466, allocations: 8.078 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4466, allocations: 4 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4466, allocations: 3.938 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.4467, allocations: 4 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4467, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.4467, allocations: 0 / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.4467, allocations: 0 / 1.07 GB, free: 8.555 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.033e-05/0.4468, allocations: 105.8 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.4469, allocations: 7.906 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.4469, allocations: 11 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4469, allocations: 4 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4469, allocations: 0 / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4469, allocations: 3.984 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.447, allocations: 145.7 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.447, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.908e-05/0.447, allocations: 8 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.447, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4471, allocations: 3.938 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4471, allocations: 3.938 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4471, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.775e-05/0.4471, allocations: 63.3 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.4472, allocations: 77.11 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.4472, allocations: 3.938 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-06/0.4472, allocations: 0 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.4472, allocations: 7.938 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-06/0.4472, allocations: 0 / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.4473, allocations: 79.28 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4473, allocations: 4.031 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000192/0.4475, allocations: 0 / 1.07 GB, free: 7.941 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.0001445/0.4476, allocations: 99.23 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.645e-05/0.4477, allocations: 7.938 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4477, allocations: 0 / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/0.4477, allocations: 4 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.4479, allocations: 8.219 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.4481, allocations: 91.33 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.4484, allocations: 0.6731 MB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.4484, allocations: 3.984 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.4484, allocations: 7.438 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4484, allocations: 0 / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.001988/0.4504, allocations: 168.8 kB / 1.071 GB, free: 6.82 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)