Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.55/2.55, allocations: 287.5 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001368/0.001367, allocations: 182.1 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.071/2.071, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009252/0.0009251, allocations: 95.92 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004853, allocations: 14.3 kB / 0.8668 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2114, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9397/1.151, allocations: 139.9 MB / 1.116 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/1.152, allocations: 76.77 kB / 1.116 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03729/1.189, allocations: 5.225 MB / 1.121 GB, free: 31.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/1.189, allocations: 0 / 1.121 GB, free: 31.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.106e-05/1.189, allocations: 3.844 kB / 1.121 GB, free: 31.3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001714/1.191, allocations: 0.642 MB / 1.122 GB, free: 30.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.191, allocations: 7.688 kB / 1.122 GB, free: 30.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/1.191, allocations: 47.62 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/1.192, allocations: 278.8 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/1.192, allocations: 17.67 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/1.192, allocations: 19.25 kB / 1.122 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/1.192, allocations: 167.8 kB / 1.122 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.192, allocations: 192 / 1.122 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/1.192, allocations: 11.25 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.192, allocations: 0 / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/1.192, allocations: 62.09 kB / 1.122 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/1.194, allocations: 0.5909 MB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/1.195, allocations: 133.1 kB / 1.123 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/1.195, allocations: 63.8 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/1.195, allocations: 7.812 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005871/1.196, allocations: 226.4 kB / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.504e-06/1.196, allocations: 0 / 1.123 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0009395/1.197, allocations: 286 kB / 1.124 GB, free: 30 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/1.197, allocations: 62.81 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/1.197, allocations: 312.9 kB / 1.124 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.197, allocations: 42.08 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/1.197, allocations: 98.28 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/1.197, allocations: 44.19 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/1.198, allocations: 10.44 kB / 1.124 GB, free: 29.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.198, allocations: 331.5 kB / 1.124 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/1.198, allocations: 121.3 kB / 1.125 GB, free: 29.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/1.199, allocations: 174.5 kB / 1.125 GB, free: 29.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/1.199, allocations: 259.3 kB / 1.125 GB, free: 29.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.199, allocations: 0 / 1.125 GB, free: 29.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001254/1.2, allocations: 454.4 kB / 1.125 GB, free: 29.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.996e-05/1.201, allocations: 79.84 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.201, allocations: 3.844 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/1.201, allocations: 3.906 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.201, allocations: 29.78 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.201, allocations: 3.875 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006589/1.202, allocations: 48.19 kB / 1.126 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.202, allocations: 59.45 kB / 1.126 GB, free: 28.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003604/1.202, allocations: 192.4 kB / 1.126 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/1.202, allocations: 31.06 kB / 1.126 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.57e-05/1.202, allocations: 29.7 kB / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.202, allocations: 0 / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.202, allocations: 2.953 kB / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.202, allocations: 0 / 1.126 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/1.203, allocations: 0.5946 MB / 1.126 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.203, allocations: 0 / 1.126 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/1.204, allocations: 10.88 kB / 1.126 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/1.204, allocations: 0 / 1.126 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/1.204, allocations: 17.8 kB / 1.127 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.204, allocations: 0 / 1.127 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.204, allocations: 0 / 1.127 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/1.204, allocations: 332.4 kB / 1.127 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/1.205, allocations: 196.3 kB / 1.127 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.76e-05/1.205, allocations: 14.5 kB / 1.127 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/1.205, allocations: 7.688 kB / 1.127 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.175e-05/1.205, allocations: 24.89 kB / 1.127 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/1.205, allocations: 26.2 kB / 1.127 GB, free: 28.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003104/1.205, allocations: 227 kB / 1.127 GB, free: 28.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.205, allocations: 0 / 1.127 GB, free: 28.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005596/1.206, allocations: 63.89 kB / 1.127 GB, free: 28.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002218/1.206, allocations: 134.9 kB / 1.127 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009552/1.207, allocations: 375.4 kB / 1.128 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.207, allocations: 0 / 1.128 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/1.208, allocations: 74.91 kB / 1.128 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/1.208, allocations: 40.33 kB / 1.128 GB, free: 27.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/1.209, allocations: 494 kB / 1.128 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/1.21, allocations: 0.7574 MB / 1.129 GB, free: 26.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002637/1.21, allocations: 39.52 kB / 1.129 GB, free: 26.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/1.21, allocations: 40.11 kB / 1.129 GB, free: 26.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.173e-06/1.21, allocations: 0 / 1.129 GB, free: 26.88 MB / 0.698 GB Notification: Performance of Templates: time 0.0119/1.222, allocations: 4.756 MB / 1.134 GB, free: 25.97 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)