Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.005906/0.005906, allocations: 107.4 kB / 15.74 MB, free: 5.582 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.001373/0.001373, allocations: 197.9 kB / 16.67 MB, free: 5.508 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.272/1.272, 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.001976/0.001976, allocations: 298.8 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.8907/0.8907, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 95.84 kB / 0.6809 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4537, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002745/0.4565, allocations: 1.48 MB / 0.7673 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009952/0.4575, allocations: 442.9 kB / 0.7678 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.4576, allocations: 0 / 0.7678 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.751e-05/0.4577, allocations: 11.86 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.4578, allocations: 20.23 kB / 0.7678 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000753/0.4586, allocations: 241.6 kB / 0.768 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.459, allocations: 335.5 kB / 0.7683 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.459, allocations: 6.812 kB / 0.7683 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.4594, allocations: 199.6 kB / 0.7685 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.4596, allocations: 117.8 kB / 0.7686 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.4597, allocations: 20 kB / 0.7687 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.982e-05/0.4598, allocations: 24 kB / 0.7687 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.4599, allocations: 75.78 kB / 0.7688 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.46, allocations: 135.3 kB / 0.7689 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.4603, allocations: 279.1 kB / 0.7692 GB, free: 496 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4603, allocations: 0 / 0.7692 GB, free: 496 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4603, allocations: 0 / 0.7692 GB, free: 496 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.4604, allocations: 0 / 0.7692 GB, free: 496 kB / 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.001084/0.4614, allocations: 0.7422 MB / 0.7699 GB, free: 15.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.4615, allocations: 19.97 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.4616, allocations: 34.75 kB / 0.7699 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.4617, allocations: 36.64 kB / 0.77 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.462, allocations: 263.5 kB / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.462, allocations: 20.11 kB / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.4621, allocations: 12 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.463, allocations: 205.4 kB / 0.7704 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.463, allocations: 4 kB / 0.7704 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.4631, allocations: 4 kB / 0.7704 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.4631, allocations: 4 kB / 0.7705 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007157/0.4638, allocations: 95.86 kB / 0.7705 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.4642, allocations: 313.3 kB / 0.7708 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/0.4651, allocations: 178.4 kB / 0.771 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/0.4659, allocations: 104.8 kB / 0.7711 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.4659, allocations: 4 kB / 0.7711 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009202/0.4668, allocations: 214.1 kB / 0.7713 GB, free: 14.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.4668, allocations: 4 kB / 0.7713 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002389/0.4692, allocations: 445 kB / 0.7717 GB, free: 13.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.4693, allocations: 63.39 kB / 0.7718 GB, free: 13.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.4696, allocations: 290.9 kB / 0.7721 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.4697, allocations: 41.7 kB / 0.7721 GB, free: 13.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.4697, allocations: 93.12 kB / 0.7722 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.4698, allocations: 43.48 kB / 0.7723 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.47, allocations: 97.47 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.4701, allocations: 318.8 kB / 0.7727 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4703, allocations: 83.94 kB / 0.7727 GB, free: 12.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.4705, allocations: 136.9 kB / 0.7729 GB, free: 12.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.4708, allocations: 239.1 kB / 0.7731 GB, free: 12.14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.4708, allocations: 0 / 0.7731 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006134/0.4714, allocations: 388.6 kB / 0.7735 GB, free: 11.74 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/0.4715, allocations: 75.38 kB / 0.7735 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4715, allocations: 3.938 kB / 0.7735 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.4715, allocations: 4 kB / 0.7735 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4717, allocations: 23.98 kB / 0.7736 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.4717, allocations: 0 / 0.7736 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.4722, allocations: 67.92 kB / 0.7736 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/0.4722, allocations: 35.98 kB / 0.7737 GB, free: 11.52 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.0001679/0.4724, allocations: 168 kB / 0.7738 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.4725, allocations: 27.7 kB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.4725, allocations: 26.3 kB / 0.7739 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4725, allocations: 8 kB / 0.7739 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4725, allocations: 0 / 0.7739 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4726, allocations: 7.938 kB / 0.7739 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.4747, allocations: 0.6935 MB / 0.7746 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4747, allocations: 4 kB / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.705e-05/0.4747, allocations: 7.984 kB / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4747, allocations: 0 / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.4748, allocations: 15.97 kB / 0.7746 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4748, allocations: 7.938 kB / 0.7746 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4748, allocations: 0 / 0.7746 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.4765, allocations: 446.6 kB / 0.775 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.4767, allocations: 164.6 kB / 0.7752 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.4767, allocations: 12 kB / 0.7752 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.4772, allocations: 27.97 kB / 0.7752 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.4772, allocations: 15.92 kB / 0.7752 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.4773, allocations: 43.97 kB / 0.7753 GB, free: 9.766 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001755/0.4775, allocations: 209.9 kB / 0.7755 GB, free: 9.559 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4775, allocations: 0 / 0.7755 GB, free: 9.559 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003133/0.4778, allocations: 52 kB / 0.7755 GB, free: 9.508 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.001882/0.4797, allocations: 0.9925 MB / 0.7765 GB, free: 8.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.4808, allocations: 382.5 kB / 0.7769 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4808, allocations: 0 / 0.7769 GB, free: 8.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.4815, allocations: 107.9 kB / 0.777 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.4818, allocations: 24.58 kB / 0.777 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.4853, allocations: 2.375 MB / 0.7793 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.4856, allocations: 0.7435 MB / 0.78 GB, free: 4.691 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.771e-05/0.4857, allocations: 13.06 kB / 0.78 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.4858, allocations: 27.42 kB / 0.7801 GB, free: 4.652 MB / 0.545 GB Notification: Performance of SimCode: time 1.833e-06/0.4858, allocations: 0 / 0.7801 GB, free: 4.652 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.5086, allocations: 4.914 MB / 0.7849 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.538, allocations: 7.656 kB / 0.7849 GB, free: 15.91 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)