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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 104.6 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 187.8 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002338/0.002338, allocations: 286.8 kB / 303 MB, free: 3.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.066/1.066, allocations: 180.9 MB / 0.5261 GB, free: 2.801 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 99.84 kB / 0.7247 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.6478, allocations: 94.16 MB / 0.8167 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002398/0.6502, allocations: 1.537 MB / 0.8182 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.6513, allocations: 0.5484 MB / 0.8187 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.6513, allocations: 4.875 kB / 0.8187 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.386e-05/0.6514, allocations: 13.95 kB / 0.8188 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.6515, allocations: 19.44 kB / 0.8188 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.6522, allocations: 314.6 kB / 0.8191 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.6527, allocations: 487.2 kB / 0.8195 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.6527, allocations: 7.172 kB / 0.8195 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.6531, allocations: 271 kB / 0.8198 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.6533, allocations: 148.2 kB / 0.8199 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.627e-05/0.6534, allocations: 26.38 kB / 0.82 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.6535, allocations: 27 kB / 0.82 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.6536, allocations: 118.3 kB / 0.8201 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.6537, allocations: 180.4 kB / 0.8203 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.6542, allocations: 428.8 kB / 0.8207 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6543, allocations: 0 / 0.8207 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6543, allocations: 0 / 0.8207 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.6543, allocations: 0 / 0.8207 GB, free: 4.805 MB / 0.5762 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.001109/0.6554, allocations: 0.8823 MB / 0.8215 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.6554, allocations: 10.5 kB / 0.8216 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.6555, allocations: 37.23 kB / 0.8216 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.6555, allocations: 51.38 kB / 0.8216 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.6559, allocations: 314.2 kB / 0.8219 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.656, allocations: 16.72 kB / 0.822 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.6561, allocations: 32 kB / 0.822 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.6569, allocations: 213.8 kB / 0.8222 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.6569, allocations: 6.594 kB / 0.8222 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.657, allocations: 0.75 kB / 0.8222 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.657, allocations: 2.594 kB / 0.8222 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.6577, allocations: 97.73 kB / 0.8223 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.6581, allocations: 398.5 kB / 0.8227 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.659, allocations: 166.2 kB / 0.8228 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.6596, allocations: 105.6 kB / 0.8229 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.6597, allocations: 0.6562 kB / 0.8229 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008873/0.6605, allocations: 223.1 kB / 0.8231 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.6605, allocations: 10.81 kB / 0.8232 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002315/0.6629, allocations: 486 kB / 0.8236 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.6629, allocations: 55.62 kB / 0.8237 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.6633, allocations: 417 kB / 0.8241 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.6634, allocations: 41.11 kB / 0.8241 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.6634, allocations: 93.89 kB / 0.8242 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.6635, allocations: 41.16 kB / 0.8242 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.6636, allocations: 131.3 kB / 0.8244 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.6637, allocations: 322 kB / 0.8247 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.6639, allocations: 118.9 kB / 0.8248 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.6642, allocations: 169.7 kB / 0.8249 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.6645, allocations: 275.5 kB / 0.8252 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6645, allocations: 3.938 kB / 0.8252 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000707/0.6652, allocations: 489.9 kB / 0.8257 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.6652, allocations: 92.73 kB / 0.8258 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6653, allocations: 2.438 kB / 0.8258 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6653, allocations: 7.203 kB / 0.8258 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.6654, allocations: 30.14 kB / 0.8258 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6654, allocations: 0 / 0.8258 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.6659, allocations: 55.19 kB / 0.8259 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.666, allocations: 63.38 kB / 0.8259 GB, free: 1.641 MB / 0.5762 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.0001997/0.6662, allocations: 197 kB / 0.8261 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.6662, allocations: 45.86 kB / 0.8262 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.537e-05/0.6663, allocations: 43.03 kB / 0.8262 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6663, allocations: 0 / 0.8262 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6663, allocations: 2.625 kB / 0.8262 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6663, allocations: 1.547 kB / 0.8262 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.6683, allocations: 0.748 MB / 0.8269 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6683, allocations: 0 / 0.8269 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.6684, allocations: 7.141 kB / 0.8269 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6684, allocations: 0 / 0.8269 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.6684, allocations: 22.89 kB / 0.827 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6684, allocations: 0 / 0.827 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6684, allocations: 1.125 kB / 0.827 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.6699, allocations: 472.3 kB / 0.8274 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.6702, allocations: 202.5 kB / 0.8276 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.6703, allocations: 14.98 kB / 0.8276 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.6707, allocations: 31.09 kB / 0.8276 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.6708, allocations: 15.08 kB / 0.8277 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.6708, allocations: 60.48 kB / 0.8277 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002823/0.6711, allocations: 295.8 kB / 0.828 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6711, allocations: 0 / 0.828 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003851/0.6715, allocations: 67.23 kB / 0.8281 GB, free: 0.5352 MB / 0.5762 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.001784/0.6733, allocations: 1.026 MB / 0.8291 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.6745, allocations: 408.8 kB / 0.8295 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6745, allocations: 0 / 0.8295 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006959/0.6752, allocations: 109.3 kB / 0.8296 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.6756, allocations: 34.02 kB / 0.8296 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.6799, allocations: 2.795 MB / 0.8323 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.6803, allocations: 0.7713 MB / 0.8331 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.992e-05/0.6804, allocations: 16.86 kB / 0.8331 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.6805, allocations: 22.27 kB / 0.8331 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.6805, allocations: 0 / 0.8331 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03829/0.7188, allocations: 6.177 MB / 0.8391 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/8.981, allocations: 11.72 kB / 0.8392 GB, free: 11.83 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.992945427075028] Failed to read output from testmodel.py, exit status != 0: 9.05181715497747 9.076823452 8.418247888 Calling exit ...