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.007843/0.007843, allocations: 96.17 kB / 15.73 MB, free: 6.039 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.001894/0.001894, allocations: 196.1 kB / 16.68 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002478/0.002478, allocations: 279 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 178.6 MB / 0.5074 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 97.05 kB / 0.6943 GB, free: 3.648 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5249, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002806/0.5277, allocations: 1.517 MB / 0.7828 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.5292, allocations: 0.5551 MB / 0.7833 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.5293, allocations: 0 / 0.7833 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.5294, allocations: 9.609 kB / 0.7833 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.5296, allocations: 26.84 kB / 0.7834 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009848/0.5306, allocations: 314.8 kB / 0.7837 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.5313, allocations: 0.5023 MB / 0.7842 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.5313, allocations: 12.67 kB / 0.7842 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.5318, allocations: 269.7 kB / 0.7844 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.5321, allocations: 142.6 kB / 0.7846 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.5322, allocations: 27.81 kB / 0.7846 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.5323, allocations: 30.19 kB / 0.7846 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.5325, allocations: 119.2 kB / 0.7847 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.5328, allocations: 181.7 kB / 0.7849 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.5333, allocations: 425.2 kB / 0.7853 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5333, allocations: 1.125 kB / 0.7853 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5333, allocations: 0 / 0.7853 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5333, allocations: 0 / 0.7853 GB, free: 11.62 MB / 0.5606 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.001364/0.5347, allocations: 0.8809 MB / 0.7862 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5347, allocations: 9.656 kB / 0.7862 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.5348, allocations: 39.97 kB / 0.7862 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.5349, allocations: 50.77 kB / 0.7863 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.5353, allocations: 313.3 kB / 0.7866 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/0.5354, allocations: 18.03 kB / 0.7866 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.5355, allocations: 34.25 kB / 0.7866 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.5365, allocations: 211.3 kB / 0.7868 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5365, allocations: 3.938 kB / 0.7868 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.5366, allocations: 2.656 kB / 0.7868 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.5366, allocations: 2.281 kB / 0.7868 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007682/0.5374, allocations: 99.77 kB / 0.7869 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.5379, allocations: 391.2 kB / 0.7873 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.539, allocations: 183.9 kB / 0.7875 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/0.5398, allocations: 115.6 kB / 0.7876 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.5398, allocations: 3.328 kB / 0.7876 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009963/0.5408, allocations: 223.1 kB / 0.7878 GB, free: 10 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.5409, allocations: 0 / 0.7878 GB, free: 10 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00289/0.5438, allocations: 484.7 kB / 0.7883 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.5438, allocations: 61.59 kB / 0.7883 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/0.5444, allocations: 419.9 kB / 0.7887 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5446, allocations: 43.27 kB / 0.7888 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.506e-05/0.5447, allocations: 91.27 kB / 0.7889 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.5447, allocations: 41.42 kB / 0.7889 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.545, allocations: 132.2 kB / 0.789 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.5451, allocations: 321.4 kB / 0.7893 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.5454, allocations: 115.6 kB / 0.7894 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.5457, allocations: 170.3 kB / 0.7896 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.5462, allocations: 282.5 kB / 0.7899 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5462, allocations: 1.125 kB / 0.7899 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009661/0.5471, allocations: 485.7 kB / 0.7903 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.5473, allocations: 93.94 kB / 0.7904 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5473, allocations: 2.438 kB / 0.7904 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5473, allocations: 2.781 kB / 0.7904 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.5475, allocations: 27.44 kB / 0.7905 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5475, allocations: 6.938 kB / 0.7905 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.548, allocations: 53.81 kB / 0.7905 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.231e-05/0.5482, allocations: 58.47 kB / 0.7906 GB, free: 8.461 MB / 0.5606 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.0003025/0.5485, allocations: 199.6 kB / 0.7908 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.5485, allocations: 48.89 kB / 0.7908 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.695e-05/0.5486, allocations: 42.53 kB / 0.7908 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5486, allocations: 1.75 kB / 0.7908 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5486, allocations: 0 / 0.7908 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5487, allocations: 2.484 kB / 0.7908 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.551, allocations: 0.7509 MB / 0.7916 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.551, allocations: 0.5625 kB / 0.7916 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.551, allocations: 4.828 kB / 0.7916 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5511, allocations: 1.969 kB / 0.7916 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/0.5511, allocations: 17.67 kB / 0.7916 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5511, allocations: 0.9062 kB / 0.7916 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5511, allocations: 1.125 kB / 0.7916 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5529, allocations: 478.6 kB / 0.7921 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.5532, allocations: 204.7 kB / 0.7923 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.5533, allocations: 10.75 kB / 0.7923 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.5538, allocations: 35.94 kB / 0.7923 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.5539, allocations: 7.719 kB / 0.7923 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.5539, allocations: 61.14 kB / 0.7924 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003669/0.5543, allocations: 297.3 kB / 0.7927 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5543, allocations: 5.125 kB / 0.7927 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005064/0.5548, allocations: 64.92 kB / 0.7927 GB, free: 7.348 MB / 0.5606 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.002215/0.5571, allocations: 1.021 MB / 0.7937 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.5585, allocations: 445 kB / 0.7941 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5585, allocations: 0 / 0.7941 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.5593, allocations: 117.4 kB / 0.7943 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.5597, allocations: 34.25 kB / 0.7943 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004823/0.5645, allocations: 2.802 MB / 0.797 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.565, allocations: 0.7658 MB / 0.7978 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.167e-05/0.5651, allocations: 13.03 kB / 0.7978 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.5651, allocations: 25.89 kB / 0.7978 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/0.5652, allocations: 0 / 0.7978 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.5948, allocations: 6.16 MB / 0.8038 GB, free: 300 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.59, allocations: 4.125 kB / 0.8038 GB, free: 300 kB / 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)