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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.684/2.684, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.00136/0.001359, allocations: 182 kB / 371 MB, free: 10.86 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.138/2.138, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009675/0.0009672, allocations: 98.23 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008018/0.000802, allocations: 13.19 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2417, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.00194/0.2437, allocations: 1.358 MB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.2449, allocations: 455.9 kB / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.245, allocations: 0 / 0.9802 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.2451, allocations: 11.86 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.2453, allocations: 23.91 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.2461, allocations: 213.8 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.2465, allocations: 311.5 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2466, allocations: 29.42 kB / 0.9808 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004509/0.2471, allocations: 231.5 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.2474, allocations: 135.7 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.2475, allocations: 16 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2476, allocations: 8 kB / 0.9812 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.2477, allocations: 83.77 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.2478, allocations: 77.52 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.2482, allocations: 319.5 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2482, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2482, allocations: 0 / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.2482, allocations: 4 kB / 0.9816 GB, free: 24.96 MB / 0.6198 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.001385/0.2496, allocations: 0.6413 MB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2497, allocations: 12.03 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.243e-05/0.2498, allocations: 42.5 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.2499, allocations: 35.62 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.2503, allocations: 275.1 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.2503, allocations: 12 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.69e-05/0.2504, allocations: 23.98 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.2509, allocations: 167.7 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2509, allocations: 8 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.251, allocations: 3.984 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.251, allocations: 0 / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.2512, allocations: 59.97 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.2528, allocations: 0.5588 MB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.2533, allocations: 138.7 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.2535, allocations: 64.77 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.2536, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000637/0.2542, allocations: 236.3 kB / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.194e-06/0.2542, allocations: 0 / 0.9838 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0009111/0.2552, allocations: 282.9 kB / 0.9841 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.2552, allocations: 67.33 kB / 0.9842 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.2557, allocations: 320.4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.66e-05/0.2558, allocations: 33.7 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.2559, allocations: 105.1 kB / 0.9846 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.256, allocations: 47.44 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.2561, allocations: 8 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.2561, allocations: 322.8 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.2565, allocations: 104.2 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.257, allocations: 162.4 kB / 0.9852 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.2574, allocations: 160.1 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2574, allocations: 4 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001079/0.2585, allocations: 445.9 kB / 0.9858 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.284e-05/0.2586, allocations: 75.39 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2586, allocations: 3.953 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.2586, allocations: 4 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.2589, allocations: 27.91 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.2589, allocations: 4 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/0.2598, allocations: 75.92 kB / 0.986 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.26, allocations: 55.98 kB / 0.9861 GB, free: 20.14 MB / 0.6198 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.0002948/0.2603, allocations: 177.8 kB / 0.9862 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.2604, allocations: 35.61 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.2605, allocations: 34.36 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2605, allocations: 7.953 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2605, allocations: 0 / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2605, allocations: 0 / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.2616, allocations: 0.586 MB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2616, allocations: 0 / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.2617, allocations: 19.94 kB / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/0.2617, allocations: 0 / 0.9869 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.2618, allocations: 15.98 kB / 0.9869 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2618, allocations: 4 kB / 0.9869 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2618, allocations: 0 / 0.9869 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.2624, allocations: 333.1 kB / 0.9872 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.2627, allocations: 180.7 kB / 0.9874 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.2628, allocations: 23.94 kB / 0.9874 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.2632, allocations: 9 kB / 0.9874 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.2633, allocations: 23.95 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.2633, allocations: 31.98 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002837/0.2636, allocations: 235 kB / 0.9877 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2637, allocations: 0 / 0.9877 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000506/0.2642, allocations: 51.91 kB / 0.9878 GB, free: 18.3 MB / 0.6198 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.0009675/0.2652, allocations: 0.8778 MB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008629/0.266, allocations: 372.3 kB / 0.989 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.2661, allocations: 0 / 0.989 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.2663, allocations: 75.97 kB / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.2669, allocations: 36.56 kB / 0.9891 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.27, allocations: 1.308 MB / 0.9904 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.2703, allocations: 0.7556 MB / 0.9911 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.2706, allocations: 37.42 kB / 0.9911 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002194/0.2708, allocations: 55.41 kB / 0.9912 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of SimCode: time 1.223e-06/0.2708, allocations: 0 / 0.9912 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.3059, allocations: 5.527 MB / 0.9966 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/0.3062, allocations: 223.3 kB / 0.9968 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/2.941, allocations: 4 kB / 0.9968 GB, free: 9.082 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)