Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",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.006033/0.006033, allocations: 100 kB / 15.73 MB, free: 6.004 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.001147/0.001147, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 299.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.891/0.891, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 91.86 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4367, allocations: 86.98 MB / 0.7659 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002804/0.4396, allocations: 1.48 MB / 0.7673 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.4406, allocations: 435.5 kB / 0.7677 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.4407, allocations: 0 / 0.7677 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.4408, allocations: 7.875 kB / 0.7677 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.4409, allocations: 24.23 kB / 0.7678 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007947/0.4417, allocations: 248.6 kB / 0.768 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.4422, allocations: 331.5 kB / 0.7683 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.334e-05/0.4422, allocations: 10.8 kB / 0.7683 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.4426, allocations: 195.7 kB / 0.7685 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.4428, allocations: 120 kB / 0.7686 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.491e-05/0.4429, allocations: 20 kB / 0.7686 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.471e-05/0.4429, allocations: 20 kB / 0.7687 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4431, allocations: 79.77 kB / 0.7687 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.4432, allocations: 127.3 kB / 0.7689 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.4435, allocations: 291.1 kB / 0.7691 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4435, allocations: 0 / 0.7691 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4436, allocations: 0 / 0.7691 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.4436, allocations: 3.938 kB / 0.7691 GB, free: 0.5039 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.001104/0.4447, allocations: 0.7422 MB / 0.7699 GB, free: 15.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4447, allocations: 12.03 kB / 0.7699 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.4448, allocations: 38.73 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.402e-05/0.4449, allocations: 32.66 kB / 0.7699 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.4452, allocations: 263.5 kB / 0.7702 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.4452, allocations: 16.12 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.725e-05/0.4453, allocations: 23.97 kB / 0.7702 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.4463, allocations: 209.5 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4463, allocations: 0 / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.4463, allocations: 0 / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4463, allocations: 4 kB / 0.7704 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.4471, allocations: 99.91 kB / 0.7705 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.4474, allocations: 309.3 kB / 0.7708 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.4484, allocations: 178.3 kB / 0.771 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.4491, allocations: 108.8 kB / 0.7711 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.4491, allocations: 4 kB / 0.7711 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/0.45, allocations: 214.4 kB / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.4501, allocations: 0 / 0.7713 GB, free: 14.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002359/0.4524, allocations: 445.1 kB / 0.7717 GB, free: 13.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4525, allocations: 67.34 kB / 0.7718 GB, free: 13.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.4528, allocations: 290.9 kB / 0.7721 GB, free: 13.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.4528, allocations: 41.69 kB / 0.7721 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.4529, allocations: 85.14 kB / 0.7722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.4529, allocations: 43.48 kB / 0.7722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.4531, allocations: 93.48 kB / 0.7723 GB, free: 12.99 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4532, allocations: 326.8 kB / 0.7726 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.4534, allocations: 75.95 kB / 0.7727 GB, free: 12.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.4536, allocations: 140.3 kB / 0.7728 GB, free: 12.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/0.4539, allocations: 239.3 kB / 0.7731 GB, free: 12.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4539, allocations: 0 / 0.7731 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005962/0.4545, allocations: 396.6 kB / 0.7735 GB, free: 11.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.4546, allocations: 71.39 kB / 0.7735 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4546, allocations: 0 / 0.7735 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4546, allocations: 4.188 kB / 0.7735 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4548, allocations: 31.91 kB / 0.7736 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4548, allocations: 0 / 0.7736 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.4553, allocations: 59.8 kB / 0.7736 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.4553, allocations: 39.98 kB / 0.7737 GB, free: 11.54 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.0001707/0.4555, allocations: 171.9 kB / 0.7738 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.4556, allocations: 27.72 kB / 0.7738 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.4556, allocations: 26.3 kB / 0.7739 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4556, allocations: 7.938 kB / 0.7739 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4556, allocations: 0 / 0.7739 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4556, allocations: 0 / 0.7739 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.4577, allocations: 0.7013 MB / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4577, allocations: 0 / 0.7746 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.4577, allocations: 4 kB / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4577, allocations: 0 / 0.7746 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.1e-05/0.4578, allocations: 19.97 kB / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4578, allocations: 0 / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4578, allocations: 4 kB / 0.7746 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4594, allocations: 454.4 kB / 0.775 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.4596, allocations: 156.6 kB / 0.7752 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.4596, allocations: 19.98 kB / 0.7752 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4601, allocations: 31.97 kB / 0.7752 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.4601, allocations: 11.92 kB / 0.7752 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.4602, allocations: 43.98 kB / 0.7753 GB, free: 9.785 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001807/0.4604, allocations: 209.9 kB / 0.7755 GB, free: 9.578 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4604, allocations: 0 / 0.7755 GB, free: 9.578 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003212/0.4607, allocations: 51.98 kB / 0.7755 GB, free: 9.527 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.4626, allocations: 0.987 MB / 0.7765 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.4637, allocations: 378.5 kB / 0.7768 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4637, allocations: 0 / 0.7768 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007335/0.4645, allocations: 111.9 kB / 0.777 GB, free: 8.008 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.4648, allocations: 39.89 kB / 0.777 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.4682, allocations: 2.362 MB / 0.7793 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.4685, allocations: 0.7434 MB / 0.78 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.913e-05/0.4686, allocations: 9.094 kB / 0.78 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.4687, allocations: 27.42 kB / 0.7801 GB, free: 4.676 MB / 0.545 GB Notification: Performance of SimCode: time 1.803e-06/0.4687, allocations: 0 / 0.7801 GB, free: 4.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.4925, allocations: 4.904 MB / 0.7848 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.551, allocations: 5.906 kB / 0.7849 GB, free: 15.93 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)