Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.756/1.756, allocations: 291.7 MB / 306.8 MB, free: 7.645 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009868/0.0009868, allocations: 186.5 kB / 375.4 MB, free: 5.105 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008238/0.0008243, allocations: 110.7 kB / 0.7699 GB, free: 50.22 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004342, allocations: 17.97 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7403, allocations: 118.1 MB / 1.011 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001644/0.742, allocations: 1.184 MB / 1.012 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.7429, allocations: 412.2 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.7429, allocations: 0 / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.877e-05/0.743, allocations: 3.625 kB / 1.012 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.714e-05/0.7431, allocations: 20.11 kB / 1.012 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.7437, allocations: 210.9 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.744, allocations: 242 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.7441, allocations: 15.58 kB / 1.013 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.7444, allocations: 215.5 kB / 1.013 GB, free: 57.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.7446, allocations: 136.4 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.7446, allocations: 11.28 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.623e-05/0.7447, allocations: 7.812 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.7448, allocations: 80.58 kB / 1.013 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.502e-05/0.7449, allocations: 69.23 kB / 1.013 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.7451, allocations: 210.5 kB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.7451, allocations: 0 / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7451, allocations: 0 / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.7451, allocations: 0 / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009942/0.7461, allocations: 0.6083 MB / 1.014 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7462, allocations: 9.312 kB / 1.014 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.351e-05/0.7463, allocations: 31.58 kB / 1.014 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.7466, allocations: 266.1 kB / 1.014 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.7466, allocations: 14.31 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.7467, allocations: 20.06 kB / 1.015 GB, free: 56.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.747, allocations: 146.7 kB / 1.015 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.747, allocations: 6.094 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.747, allocations: 8.609 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.747, allocations: 2.906 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.7471, allocations: 45.5 kB / 1.015 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.7474, allocations: 308 kB / 1.015 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.7477, allocations: 133.5 kB / 1.015 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.7478, allocations: 56.61 kB / 1.015 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.7478, allocations: 1.031 kB / 1.015 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.7483, allocations: 216.4 kB / 1.015 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.472e-06/0.7483, allocations: 0 / 1.015 GB, free: 56.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005207/0.7488, allocations: 279.9 kB / 1.016 GB, free: 56.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.7488, allocations: 58.31 kB / 1.016 GB, free: 56.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.7491, allocations: 283.6 kB / 1.016 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.7491, allocations: 45.67 kB / 1.016 GB, free: 56.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.7492, allocations: 92.2 kB / 1.016 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.7492, allocations: 45.62 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.7493, allocations: 10.34 kB / 1.016 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.7493, allocations: 320.7 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.7495, allocations: 92.75 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.7497, allocations: 156.7 kB / 1.017 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.75, allocations: 238.4 kB / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.75, allocations: 1.062 kB / 1.017 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005935/0.7506, allocations: 417.9 kB / 1.017 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.7507, allocations: 70.2 kB / 1.017 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7507, allocations: 5.469 kB / 1.017 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7507, allocations: 4.281 kB / 1.017 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.7509, allocations: 37.12 kB / 1.017 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.7509, allocations: 2.969 kB / 1.017 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.7514, allocations: 74.73 kB / 1.018 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.7514, allocations: 47.97 kB / 1.018 GB, free: 55.26 MB / 0.7136 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.0001412/0.7516, allocations: 179.1 kB / 1.018 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.7516, allocations: 24.78 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.7517, allocations: 29.67 kB / 1.018 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.7517, allocations: 7.578 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.7517, allocations: 0.9062 kB / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7517, allocations: 0 / 1.018 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.7523, allocations: 0.562 MB / 1.018 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7524, allocations: 3.938 kB / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.7524, allocations: 10.62 kB / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7524, allocations: 2.938 kB / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.7525, allocations: 15.89 kB / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7525, allocations: 0 / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.7525, allocations: 0 / 1.018 GB, free: 54.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.7528, allocations: 319.8 kB / 1.019 GB, free: 54.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.753, allocations: 162 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.409e-05/0.753, allocations: 9.438 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.7532, allocations: 16.22 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.7533, allocations: 17.28 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/0.7533, allocations: 32.03 kB / 1.019 GB, free: 54.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001681/0.7535, allocations: 205.5 kB / 1.019 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7535, allocations: 0 / 1.019 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002872/0.7538, allocations: 50.62 kB / 1.019 GB, free: 54.46 MB / 0.7136 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0001308/0.754, allocations: 129.5 kB / 1.019 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.7544, allocations: 338.4 kB / 1.02 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7545, allocations: 0 / 1.02 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.7546, allocations: 76.91 kB / 1.02 GB, free: 54.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.7549, allocations: 25.81 kB / 1.02 GB, free: 54.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.7555, allocations: 449.4 kB / 1.02 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.7557, allocations: 0.7477 MB / 1.021 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.7559, allocations: 41.58 kB / 1.021 GB, free: 53.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.756, allocations: 30.55 kB / 1.021 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.756, allocations: 0 / 1.021 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.00691/0.7629, allocations: 3.927 MB / 1.025 GB, free: 52.96 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)