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.004162/0.004162, allocations: 103.3 kB / 15.73 MB, free: 6.008 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.001111/0.001111, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 287.4 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.895/0.895, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 99.84 kB / 0.6809 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.44, allocations: 86.97 MB / 0.7659 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002376/0.4424, allocations: 1.476 MB / 0.7673 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000888/0.4433, allocations: 445.1 kB / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.4434, allocations: 0 / 0.7677 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.4435, allocations: 7.875 kB / 0.7678 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.802e-05/0.4436, allocations: 28.22 kB / 0.7678 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006525/0.4442, allocations: 241.5 kB / 0.768 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.4447, allocations: 331.4 kB / 0.7683 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.4448, allocations: 14.67 kB / 0.7683 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.445, allocations: 191.7 kB / 0.7685 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.4453, allocations: 120.1 kB / 0.7686 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.4453, allocations: 23.94 kB / 0.7687 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.4454, allocations: 16 kB / 0.7687 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.4455, allocations: 83.72 kB / 0.7688 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.4457, allocations: 131.3 kB / 0.7689 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002923/0.446, allocations: 291.1 kB / 0.7692 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.446, allocations: 0 / 0.7692 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.446, allocations: 0 / 0.7692 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.699e-06/0.4461, allocations: 0 / 0.7692 GB, free: 0.5508 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.001047/0.4471, allocations: 0.7422 MB / 0.7699 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4472, allocations: 8.031 kB / 0.7699 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.983e-05/0.4472, allocations: 38.75 kB / 0.7699 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.4473, allocations: 28.66 kB / 0.77 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.4476, allocations: 263.6 kB / 0.7702 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.4477, allocations: 28.05 kB / 0.7702 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.4478, allocations: 16 kB / 0.7703 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009541/0.4488, allocations: 197.5 kB / 0.7704 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4489, allocations: 4 kB / 0.7704 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.4489, allocations: 7.984 kB / 0.7705 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4489, allocations: 0 / 0.7705 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.4496, allocations: 95.92 kB / 0.7705 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004114/0.4501, allocations: 313.3 kB / 0.7708 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009961/0.4511, allocations: 185.1 kB / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.4518, allocations: 108.8 kB / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.4518, allocations: 0 / 0.7711 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009377/0.4528, allocations: 218.2 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.4528, allocations: 0 / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002498/0.4553, allocations: 441.1 kB / 0.7717 GB, free: 13.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4553, allocations: 67.33 kB / 0.7718 GB, free: 13.61 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.4556, allocations: 294.8 kB / 0.7721 GB, free: 13.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.4557, allocations: 37.7 kB / 0.7721 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.4557, allocations: 89.14 kB / 0.7722 GB, free: 13.18 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.4558, allocations: 39.53 kB / 0.7723 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.4559, allocations: 101.5 kB / 0.7724 GB, free: 13.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.456, allocations: 318.8 kB / 0.7727 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.4562, allocations: 83.94 kB / 0.7727 GB, free: 12.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4564, allocations: 126.5 kB / 0.7729 GB, free: 12.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.4567, allocations: 245.2 kB / 0.7731 GB, free: 12.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4568, allocations: 0 / 0.7731 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005784/0.4573, allocations: 394.7 kB / 0.7735 GB, free: 11.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.4574, allocations: 75.38 kB / 0.7735 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.4574, allocations: 0 / 0.7735 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4575, allocations: 4 kB / 0.7735 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.4576, allocations: 23.92 kB / 0.7736 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.4577, allocations: 4 kB / 0.7736 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.4581, allocations: 55.92 kB / 0.7736 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.4582, allocations: 43.98 kB / 0.7737 GB, free: 11.6 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.0001637/0.4584, allocations: 167.9 kB / 0.7738 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.4585, allocations: 27.7 kB / 0.7738 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.4585, allocations: 34.28 kB / 0.7739 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4585, allocations: 0 / 0.7739 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4585, allocations: 3.938 kB / 0.7739 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4585, allocations: 3.938 kB / 0.7739 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001923/0.4605, allocations: 0.6896 MB / 0.7746 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4605, allocations: 4 kB / 0.7746 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.4605, allocations: 15.98 kB / 0.7746 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4605, allocations: 0 / 0.7746 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.4606, allocations: 15.98 kB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4606, allocations: 3.984 kB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4606, allocations: 3.984 kB / 0.7746 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.4621, allocations: 454.6 kB / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.4623, allocations: 164.6 kB / 0.7752 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.4624, allocations: 8 kB / 0.7752 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.4628, allocations: 27.97 kB / 0.7752 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.4629, allocations: 15.92 kB / 0.7752 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.4629, allocations: 43.97 kB / 0.7753 GB, free: 9.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001837/0.4631, allocations: 205.9 kB / 0.7755 GB, free: 9.633 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4631, allocations: 4 kB / 0.7755 GB, free: 9.629 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003099/0.4635, allocations: 51.98 kB / 0.7755 GB, free: 9.578 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.001959/0.4654, allocations: 0.9861 MB / 0.7765 GB, free: 8.562 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.4665, allocations: 378.5 kB / 0.7769 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4665, allocations: 384 / 0.7769 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007191/0.4672, allocations: 119.8 kB / 0.777 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.4676, allocations: 32.62 kB / 0.777 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.4712, allocations: 2.37 MB / 0.7793 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4715, allocations: 0.7357 MB / 0.78 GB, free: 4.766 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.032e-05/0.4716, allocations: 17.08 kB / 0.7801 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.4717, allocations: 23.44 kB / 0.7801 GB, free: 4.727 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4717, allocations: 3.938 kB / 0.7801 GB, free: 4.723 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.4928, allocations: 4.902 MB / 0.7849 GB, free: 16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.543, allocations: 12.62 kB / 0.7849 GB, free: 15.99 MB / 0.5606 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)