Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.631/1.631, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.00101/0.00101, allocations: 180.4 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 89.02 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.476e-05, allocations: 4 kB / 0.8663 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.322, allocations: 141.7 MB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/1.322, allocations: 73.7 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01425/1.336, allocations: 5.288 MB / 1.123 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/1.336, allocations: 7.938 kB / 1.124 GB, free: 39.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.627e-05/1.336, allocations: 4 kB / 1.124 GB, free: 39.62 MB / 0.7448 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.0007061/1.337, allocations: 0.6505 MB / 1.124 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.337, allocations: 8.031 kB / 1.124 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/1.337, allocations: 37.34 kB / 1.124 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/1.338, allocations: 266.6 kB / 1.124 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/1.338, allocations: 21.95 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/1.338, allocations: 20.75 kB / 1.124 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/1.338, allocations: 178.9 kB / 1.125 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/1.338, allocations: 0 / 1.125 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/1.338, allocations: 3.688 kB / 1.125 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/1.338, allocations: 7.953 kB / 1.125 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/1.338, allocations: 60.91 kB / 1.125 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/1.339, allocations: 0.5997 MB / 1.125 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/1.34, allocations: 116.4 kB / 1.125 GB, free: 38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/1.34, allocations: 59.58 kB / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/1.34, allocations: 7.062 kB / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/1.34, allocations: 168.8 kB / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/1.34, allocations: 0 / 1.126 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004737/1.34, allocations: 256.5 kB / 1.126 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/1.341, allocations: 66.47 kB / 1.126 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/1.341, allocations: 284 kB / 1.126 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/1.341, allocations: 38.48 kB / 1.126 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/1.341, allocations: 99.81 kB / 1.126 GB, free: 37.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/1.341, allocations: 38.12 kB / 1.126 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/1.341, allocations: 11.31 kB / 1.126 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/1.341, allocations: 325.4 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/1.341, allocations: 103.6 kB / 1.127 GB, free: 36.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/1.341, allocations: 160.7 kB / 1.127 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/1.342, allocations: 162 kB / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.342, allocations: 0 / 1.127 GB, free: 36.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006056/1.342, allocations: 424.1 kB / 1.128 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/1.342, allocations: 73.48 kB / 1.128 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.342, allocations: 5.266 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.342, allocations: 4 kB / 1.128 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/1.343, allocations: 31.08 kB / 1.128 GB, free: 36.19 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.343, allocations: 7.938 kB / 1.128 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/1.343, allocations: 42.53 kB / 1.128 GB, free: 36.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/1.343, allocations: 40.08 kB / 1.128 GB, free: 36.12 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.0001184/1.343, allocations: 143.4 kB / 1.128 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/1.343, allocations: 27.67 kB / 1.128 GB, free: 35.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/1.343, allocations: 28.95 kB / 1.128 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/1.343, allocations: 0 / 1.128 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.343, allocations: 4 kB / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.343, allocations: 0 / 1.128 GB, free: 35.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/1.344, allocations: 0.6404 MB / 1.129 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/1.344, allocations: 0 / 1.129 GB, free: 35.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/1.344, allocations: 4 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.344, allocations: 4 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.344, allocations: 18.47 kB / 1.129 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.344, allocations: 0 / 1.129 GB, free: 35.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.344, allocations: 7.938 kB / 1.129 GB, free: 35.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/1.344, allocations: 356.2 kB / 1.129 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/1.345, allocations: 191.5 kB / 1.129 GB, free: 34.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/1.345, allocations: 20.27 kB / 1.129 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/1.345, allocations: 38.73 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/1.345, allocations: 7.516 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/1.345, allocations: 42.56 kB / 1.129 GB, free: 34.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001786/1.345, allocations: 224 kB / 1.129 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.345, allocations: 0 / 1.129 GB, free: 34.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003057/1.346, allocations: 55.19 kB / 1.129 GB, free: 34.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001885/1.346, allocations: 136.4 kB / 1.13 GB, free: 34.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004739/1.346, allocations: 360.5 kB / 1.13 GB, free: 34.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.346, allocations: 0 / 1.13 GB, free: 34.3 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/1.346, allocations: 72.97 kB / 1.13 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/1.347, allocations: 40.22 kB / 1.13 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/1.347, allocations: 312.9 kB / 1.13 GB, free: 33.99 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/1.348, allocations: 0.7618 MB / 1.131 GB, free: 33.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.183e-05/1.348, allocations: 17.31 kB / 1.131 GB, free: 33.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/1.348, allocations: 11.44 kB / 1.131 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.348, allocations: 0 / 1.131 GB, free: 33.22 MB / 0.7448 GB Notification: Performance of Templates: time 0.007179/1.355, allocations: 4.345 MB / 1.135 GB, free: 30.71 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)