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.001245/0.001245, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 290.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9517/0.9517, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 105.9 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002674/0.157, allocations: 1.472 MB / 0.6817 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1581, allocations: 429.5 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1582, allocations: 0.625 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.827e-05/0.1583, allocations: 11.86 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.1584, allocations: 20.84 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.1591, allocations: 253 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.1595, allocations: 321.4 kB / 0.6827 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.1595, allocations: 16.23 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.1598, allocations: 196.5 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.16, allocations: 116.8 kB / 0.683 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.065e-05/0.1601, allocations: 20 kB / 0.683 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.1602, allocations: 20.62 kB / 0.6831 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.1603, allocations: 75.78 kB / 0.6831 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.1604, allocations: 128.8 kB / 0.6833 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1608, allocations: 295 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.1608, allocations: 0 / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1608, allocations: 0 / 0.6835 GB, free: 13.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1608, allocations: 0.6562 kB / 0.6835 GB, free: 13.28 MB / 494.1 MB 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.001034/0.1618, allocations: 0.7424 MB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1619, allocations: 12.03 kB / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.278e-05/0.1619, allocations: 34.73 kB / 0.6843 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.162, allocations: 36.56 kB / 0.6843 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.1624, allocations: 267.5 kB / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.1624, allocations: 16.12 kB / 0.6846 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.1625, allocations: 16 kB / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.1634, allocations: 205.4 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1634, allocations: 0 / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1635, allocations: 0 / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1635, allocations: 4 kB / 0.6848 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.1642, allocations: 91.92 kB / 0.6849 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.1646, allocations: 325.4 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.1656, allocations: 170.3 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.1663, allocations: 112.8 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.1664, allocations: 4 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008926/0.1673, allocations: 208.9 kB / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.1673, allocations: 0 / 0.6857 GB, free: 10.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002419/0.1697, allocations: 453 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1697, allocations: 67.33 kB / 0.6862 GB, free: 10.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.17, allocations: 291 kB / 0.6865 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.502e-05/0.1701, allocations: 37.69 kB / 0.6865 GB, free: 9.992 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.1702, allocations: 96.98 kB / 0.6866 GB, free: 9.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.1702, allocations: 39.55 kB / 0.6866 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.1704, allocations: 93.48 kB / 0.6867 GB, free: 9.758 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1705, allocations: 322.8 kB / 0.687 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1707, allocations: 87.88 kB / 0.6871 GB, free: 9.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.1709, allocations: 138.6 kB / 0.6873 GB, free: 9.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.1712, allocations: 246.9 kB / 0.6875 GB, free: 8.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1712, allocations: 0 / 0.6875 GB, free: 8.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006235/0.1719, allocations: 398.3 kB / 0.6879 GB, free: 8.512 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.1719, allocations: 71.39 kB / 0.6879 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1719, allocations: 0 / 0.6879 GB, free: 8.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.172, allocations: 8.172 kB / 0.6879 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.1721, allocations: 23.92 kB / 0.688 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1721, allocations: 4 kB / 0.688 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.1726, allocations: 63.67 kB / 0.688 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.1726, allocations: 43.98 kB / 0.6881 GB, free: 8.289 MB / 494.1 MB 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.0001646/0.1728, allocations: 176.6 kB / 0.6882 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.1729, allocations: 27.7 kB / 0.6883 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.1729, allocations: 30.3 kB / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1729, allocations: 0 / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1729, allocations: 0 / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.173, allocations: 0 / 0.6883 GB, free: 8.047 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.1749, allocations: 0.6954 MB / 0.689 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1749, allocations: 0 / 0.689 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.175, allocations: 7.984 kB / 0.689 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.175, allocations: 4 kB / 0.689 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.175, allocations: 15.98 kB / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.175, allocations: 0 / 0.689 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.175, allocations: 3.984 kB / 0.689 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.1766, allocations: 450.9 kB / 0.6894 GB, free: 6.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.1768, allocations: 160.7 kB / 0.6896 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.1768, allocations: 8 kB / 0.6896 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/0.1773, allocations: 31.97 kB / 0.6896 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.774e-05/0.1773, allocations: 15.92 kB / 0.6896 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.1774, allocations: 43.97 kB / 0.6897 GB, free: 6.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.1775, allocations: 205.9 kB / 0.6899 GB, free: 6.336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1775, allocations: 0 / 0.6899 GB, free: 6.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.1779, allocations: 47.98 kB / 0.6899 GB, free: 6.289 MB / 494.1 MB 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.001825/0.1797, allocations: 0.9999 MB / 0.6909 GB, free: 5.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.1808, allocations: 390.5 kB / 0.6913 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1808, allocations: 0 / 0.6913 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007109/0.1815, allocations: 116.2 kB / 0.6914 GB, free: 4.742 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1819, allocations: 37.11 kB / 0.6914 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.1851, allocations: 2.351 MB / 0.6937 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1854, allocations: 0.7357 MB / 0.6944 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.1855, allocations: 13.08 kB / 0.6944 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.1855, allocations: 34.48 kB / 0.6945 GB, free: 1.426 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1855, allocations: 0 / 0.6945 GB, free: 1.426 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03181/0.2173, allocations: 4.806 MB / 0.6992 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.4, allocations: 12.86 kB / 0.6992 GB, free: 12.76 MB / 0.4981 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)