Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00469/0.00469, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.001011/0.001011, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002096, allocations: 291.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9105/0.9105, allocations: 169.2 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 91.86 kB / 0.6809 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4327, allocations: 86.97 MB / 0.7659 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002842/0.4356, allocations: 1.492 MB / 0.7673 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4368, allocations: 433.1 kB / 0.7677 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.4369, allocations: 0 / 0.7677 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.4371, allocations: 7.875 kB / 0.7677 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.4372, allocations: 28.22 kB / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.4381, allocations: 247 kB / 0.768 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.4385, allocations: 327.5 kB / 0.7683 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.4386, allocations: 6.812 kB / 0.7683 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.439, allocations: 203.6 kB / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.4393, allocations: 113.8 kB / 0.7686 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.468e-05/0.4394, allocations: 20 kB / 0.7687 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.396e-05/0.4394, allocations: 20 kB / 0.7687 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4396, allocations: 87.75 kB / 0.7688 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.4397, allocations: 123.3 kB / 0.7689 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.4401, allocations: 291.1 kB / 0.7692 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4401, allocations: 0 / 0.7692 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4401, allocations: 0 / 0.7692 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.4401, allocations: 4 kB / 0.7692 GB, free: 0.5312 MB / 0.5294 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.001205/0.4414, allocations: 0.7422 MB / 0.7699 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4414, allocations: 11.97 kB / 0.7699 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.22e-05/0.4415, allocations: 42.73 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.4416, allocations: 32.66 kB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.4419, allocations: 255.6 kB / 0.7702 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.442, allocations: 16.12 kB / 0.7702 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.442, allocations: 23.98 kB / 0.7702 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.443, allocations: 205.5 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.443, allocations: 0 / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.4431, allocations: 0 / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.4431, allocations: 3.938 kB / 0.7704 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.4439, allocations: 99.91 kB / 0.7705 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004354/0.4443, allocations: 317.3 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.4453, allocations: 170.4 kB / 0.771 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.4461, allocations: 116.8 kB / 0.7711 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.4461, allocations: 0 / 0.7711 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009152/0.447, allocations: 219.1 kB / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.447, allocations: 0 / 0.7713 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002414/0.4495, allocations: 448.2 kB / 0.7718 GB, free: 13.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.4495, allocations: 55.41 kB / 0.7718 GB, free: 13.59 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.4498, allocations: 290.9 kB / 0.7721 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.188e-05/0.4498, allocations: 45.69 kB / 0.7721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.4499, allocations: 85.14 kB / 0.7722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.45, allocations: 43.47 kB / 0.7722 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.4501, allocations: 97.48 kB / 0.7723 GB, free: 13.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.4502, allocations: 318.8 kB / 0.7726 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.4504, allocations: 83.95 kB / 0.7727 GB, free: 12.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.4506, allocations: 144.8 kB / 0.7729 GB, free: 12.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.4509, allocations: 232 kB / 0.7731 GB, free: 12.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4509, allocations: 0 / 0.7731 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005908/0.4515, allocations: 396.5 kB / 0.7735 GB, free: 11.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.035e-05/0.4516, allocations: 75.39 kB / 0.7735 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4516, allocations: 4.188 kB / 0.7735 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4516, allocations: 4 kB / 0.7735 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4518, allocations: 23.97 kB / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.4518, allocations: 3.938 kB / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.4522, allocations: 59.8 kB / 0.7736 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.4523, allocations: 40 kB / 0.7737 GB, free: 11.57 MB / 0.545 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.4525, allocations: 175.9 kB / 0.7738 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.4526, allocations: 23.72 kB / 0.7739 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.4526, allocations: 30.3 kB / 0.7739 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4526, allocations: 0 / 0.7739 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4526, allocations: 0 / 0.7739 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4526, allocations: 7.938 kB / 0.7739 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.4547, allocations: 0.6935 MB / 0.7746 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4547, allocations: 0 / 0.7746 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.4548, allocations: 7.938 kB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4548, allocations: 0 / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.4548, allocations: 19.97 kB / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4548, allocations: 0 / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4548, allocations: 0 / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4565, allocations: 451.4 kB / 0.775 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.4567, allocations: 156.6 kB / 0.7752 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.4568, allocations: 16 kB / 0.7752 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.4572, allocations: 31.95 kB / 0.7752 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.4573, allocations: 11.92 kB / 0.7752 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.4573, allocations: 43.98 kB / 0.7753 GB, free: 9.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001779/0.4575, allocations: 209.9 kB / 0.7755 GB, free: 9.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4575, allocations: 0 / 0.7755 GB, free: 9.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003143/0.4579, allocations: 44 kB / 0.7755 GB, free: 9.57 MB / 0.545 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * 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 (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.001889/0.4598, allocations: 1 MB / 0.7765 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.4609, allocations: 382.5 kB / 0.7769 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4609, allocations: 0 / 0.7769 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007056/0.4616, allocations: 116.2 kB / 0.777 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.4619, allocations: 30.91 kB / 0.777 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.4652, allocations: 2.365 MB / 0.7793 GB, free: 5.512 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.4655, allocations: 0.7338 MB / 0.78 GB, free: 4.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.345e-05/0.4655, allocations: 17.08 kB / 0.78 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.4656, allocations: 27.42 kB / 0.7801 GB, free: 4.711 MB / 0.545 GB Notification: Performance of SimCode: time 2.134e-06/0.4656, allocations: 0 / 0.7801 GB, free: 4.711 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/0.4864, allocations: 4.799 MB / 0.7848 GB, free: 96 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.739, allocations: 13.47 kB / 0.7848 GB, free: 88 kB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)