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.001181/0.001181, allocations: 102.5 kB / 16.35 MB, free: 5.824 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.001229/0.00123, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.426/2.426, allocations: 442.5 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.31 kB / 0.8774 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2951, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001724/0.2969, allocations: 0.5896 MB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 3.846e-05/0.297, allocations: 0 / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.297, allocations: 3.938 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.297, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.98e-05/0.2971, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 2.973e-05/0.2971, allocations: 0 / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.2971, allocations: 7.984 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.2972, allocations: 3.984 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.414e-05/0.2972, allocations: 4 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.527e-05/0.2972, allocations: 0 / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2972, allocations: 4 kB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.2973, allocations: 3.938 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.2973, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.2973, allocations: 4 kB / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 4.681e-05/0.2973, allocations: 0 / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2974, allocations: 0 / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2974, allocations: 0 / 1.027 GB, free: 1.445 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2974, allocations: 0 / 1.027 GB, free: 1.445 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.0003067/0.2977, allocations: 307.6 kB / 1.028 GB, free: 1.094 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.2977, allocations: 15.95 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.2978, allocations: 4.938 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.622e-05/0.2979, allocations: 160.4 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.2979, allocations: 384 / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2979, allocations: 8.375 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.597e-05/0.298, allocations: 26.27 kB / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.298, allocations: 192 / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.298, allocations: 3.938 kB / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.298, allocations: 0 / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.52e-05/0.298, allocations: 7.938 kB / 1.028 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.2982, allocations: 149.7 kB / 1.028 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.2982, allocations: 17.03 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.458e-05/0.2983, allocations: 16.94 kB / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.2983, allocations: 0 / 1.028 GB, free: 0.5898 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2983, allocations: 34.56 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.2983, allocations: 0 / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001022/0.2984, allocations: 41.67 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2985, allocations: 55.44 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.011e-05/0.2985, allocations: 89.86 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2985, allocations: 25.7 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.2986, allocations: 88.12 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.2986, allocations: 0 / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.2986, allocations: 13.72 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2987, allocations: 310.8 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.2987, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.2988, allocations: 7.938 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.343e-05/0.2988, allocations: 8.859 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2988, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.556e-05/0.2988, allocations: 37.64 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.2989, allocations: 8 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2989, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2989, allocations: 7.922 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.993e-05/0.2989, allocations: 0 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2989, allocations: 4.094 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.145e-06/0.2989, allocations: 0 / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.299, allocations: 4 kB / 1.029 GB, free: 15.8 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.257e-05/0.299, allocations: 113.7 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-06/0.299, allocations: 0 / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.481e-05/0.2991, allocations: 7.062 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-06/0.2991, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2991, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2991, allocations: 4 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.385e-05/0.2992, allocations: 153.7 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2992, allocations: 4 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.2992, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2992, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.2992, allocations: 7.938 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.2992, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2992, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.213e-05/0.2993, allocations: 57.06 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.2993, allocations: 81.14 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.2993, allocations: 7.938 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.2993, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.2994, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.2994, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.221e-05/0.2994, allocations: 75.28 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2994, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001623/0.2996, allocations: 0 / 1.029 GB, free: 15.19 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.0001115/0.2997, allocations: 103.2 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.601e-05/0.2997, allocations: 7.984 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2997, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.2998, allocations: 3.938 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.2999, allocations: 4 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.3001, allocations: 93.47 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.3003, allocations: 0.669 MB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.446e-06/0.3003, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.14e-05/0.3003, allocations: 15.5 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.3004, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of Templates: time 0.001629/0.302, allocations: 172.8 kB / 1.03 GB, free: 14.07 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 gbode -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1)