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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.002123/0.002123, allocations: 187.7 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.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.002386/0.002386, allocations: 276.4 kB / 303 MB, free: 3.625 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.033/1.033, allocations: 180.9 MB / 0.5262 GB, free: 2.738 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002725/0.002725, allocations: 103.8 kB / 0.7247 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5409, allocations: 94.15 MB / 0.8167 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.003058/0.544, allocations: 1.524 MB / 0.8182 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.5455, allocations: 0.5525 MB / 0.8187 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.5455, allocations: 5 kB / 0.8187 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.5456, allocations: 7.312 kB / 0.8187 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.5458, allocations: 31.58 kB / 0.8188 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.5467, allocations: 314.2 kB / 0.8191 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.5473, allocations: 478.6 kB / 0.8195 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.594e-05/0.5473, allocations: 3.125 kB / 0.8195 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.5478, allocations: 285 kB / 0.8198 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.5481, allocations: 144.4 kB / 0.8199 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.5482, allocations: 27.53 kB / 0.8199 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.5483, allocations: 25.94 kB / 0.82 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.5484, allocations: 115.4 kB / 0.8201 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.5486, allocations: 181.1 kB / 0.8203 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.5492, allocations: 424.5 kB / 0.8207 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5492, allocations: 5.25 kB / 0.8207 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5492, allocations: 0 / 0.8207 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5492, allocations: 0 / 0.8207 GB, free: 4.934 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.001392/0.5506, allocations: 0.8835 MB / 0.8215 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5507, allocations: 10.44 kB / 0.8215 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.27e-05/0.5508, allocations: 40.03 kB / 0.8216 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.5509, allocations: 50.89 kB / 0.8216 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.5513, allocations: 312.6 kB / 0.8219 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.5514, allocations: 19.58 kB / 0.8219 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5515, allocations: 28.53 kB / 0.822 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5527, allocations: 213.3 kB / 0.8222 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.5527, allocations: 3.938 kB / 0.8222 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.5528, allocations: 1.172 kB / 0.8222 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.5528, allocations: 0 / 0.8222 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000934/0.5537, allocations: 105.3 kB / 0.8223 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.5543, allocations: 400.2 kB / 0.8227 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.5555, allocations: 167.2 kB / 0.8228 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009297/0.5564, allocations: 108 kB / 0.8229 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.5564, allocations: 1.953 kB / 0.8229 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.5576, allocations: 222 kB / 0.8231 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 3.036e-06/0.5576, allocations: 4 kB / 0.8231 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002361/0.56, allocations: 487.3 kB / 0.8236 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.56, allocations: 63.58 kB / 0.8237 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.5604, allocations: 410.2 kB / 0.8241 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.5605, allocations: 41.36 kB / 0.8241 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.5605, allocations: 93.77 kB / 0.8242 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.5605, allocations: 45.06 kB / 0.8242 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.5607, allocations: 131.7 kB / 0.8244 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.5608, allocations: 320.2 kB / 0.8247 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.561, allocations: 121.2 kB / 0.8248 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.5614, allocations: 165.5 kB / 0.8249 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.5618, allocations: 274.7 kB / 0.8252 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5618, allocations: 2.906 kB / 0.8252 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001073/0.5629, allocations: 492.6 kB / 0.8257 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.563, allocations: 90.98 kB / 0.8258 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.563, allocations: 3.219 kB / 0.8258 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.563, allocations: 7.219 kB / 0.8258 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.5632, allocations: 28.28 kB / 0.8258 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5632, allocations: 3.406 kB / 0.8258 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.5639, allocations: 53.17 kB / 0.8258 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.564, allocations: 57.86 kB / 0.8259 GB, free: 1.773 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.0002798/0.5643, allocations: 201.6 kB / 0.8261 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.5644, allocations: 44.56 kB / 0.8261 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.434e-05/0.5645, allocations: 40.75 kB / 0.8262 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5645, allocations: 2.75 kB / 0.8262 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5645, allocations: 0.7031 kB / 0.8262 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5645, allocations: 4.641 kB / 0.8262 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.5673, allocations: 0.7473 MB / 0.8269 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5673, allocations: 0.75 kB / 0.8269 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.5673, allocations: 3.797 kB / 0.8269 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5673, allocations: 2.594 kB / 0.8269 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.5674, allocations: 16.89 kB / 0.8269 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.5674, allocations: 2.188 kB / 0.8269 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5674, allocations: 3.938 kB / 0.8269 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.5694, allocations: 478.8 kB / 0.8274 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.5698, allocations: 198.8 kB / 0.8276 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.5699, allocations: 16.53 kB / 0.8276 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006203/0.5705, allocations: 32.77 kB / 0.8276 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.5705, allocations: 10.34 kB / 0.8276 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.105e-05/0.5706, allocations: 65.22 kB / 0.8277 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004004/0.571, allocations: 292.3 kB / 0.828 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.571, allocations: 0 / 0.828 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005562/0.5716, allocations: 66.48 kB / 0.828 GB, free: 0.6641 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.002466/0.574, allocations: 1.025 MB / 0.829 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.5758, allocations: 407.2 kB / 0.8294 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5758, allocations: 2.719 kB / 0.8294 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.5768, allocations: 113.6 kB / 0.8295 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.5773, allocations: 31.38 kB / 0.8296 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005815/0.5831, allocations: 2.797 MB / 0.8323 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.5836, allocations: 0.7684 MB / 0.8331 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.977e-05/0.5837, allocations: 16.05 kB / 0.8331 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.5838, allocations: 24.62 kB / 0.8331 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/0.5838, allocations: 3.938 kB / 0.8331 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03312/0.6169, allocations: 6.162 MB / 0.8391 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.651, allocations: 13.56 kB / 0.8391 GB, free: 11.93 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.474611220881343] Failed to read output from testmodel.py, exit status != 0: 8.720434337854385 8.735204323 8.18314444 Calling exit ...