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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001416/0.001416, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.343/1.343, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.00224/0.00224, allocations: 290.2 kB / 303.6 MB, free: 3.715 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 0.9932/0.9932, allocations: 180.9 MB / 0.5268 GB, free: 2.691 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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 95.84 kB / 0.7259 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4666/0.4692, allocations: 94.16 MB / 0.8178 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002273/0.4715, allocations: 1.523 MB / 0.8193 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.4725, allocations: 0.5573 MB / 0.8199 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.514e-05/0.4725, allocations: 0 / 0.8199 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.402e-05/0.4726, allocations: 8.875 kB / 0.8199 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.4727, allocations: 26.28 kB / 0.8199 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.4734, allocations: 310.1 kB / 0.8202 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.4738, allocations: 482.9 kB / 0.8207 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.4738, allocations: 7.859 kB / 0.8207 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.4741, allocations: 278.5 kB / 0.8209 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.4744, allocations: 142.2 kB / 0.8211 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-05/0.4745, allocations: 27.31 kB / 0.8211 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.4746, allocations: 26.47 kB / 0.8211 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4747, allocations: 118.3 kB / 0.8212 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.4749, allocations: 181.1 kB / 0.8214 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004049/0.4753, allocations: 429.3 kB / 0.8218 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4753, allocations: 6.562 kB / 0.8218 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4753, allocations: 0 / 0.8218 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.4753, allocations: 0 / 0.8218 GB, free: 5.211 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.0009989/0.4763, allocations: 0.8766 MB / 0.8227 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.4763, allocations: 8.031 kB / 0.8227 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.4764, allocations: 51.98 kB / 0.8227 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.4767, allocations: 317.5 kB / 0.823 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.4767, allocations: 20.02 kB / 0.8231 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.4768, allocations: 30.92 kB / 0.8231 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/0.4778, allocations: 210.7 kB / 0.8233 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4778, allocations: 6.703 kB / 0.8233 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.973e-05/0.4778, allocations: 5.016 kB / 0.8233 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4778, allocations: 6.656 kB / 0.8233 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.4786, allocations: 99.45 kB / 0.8234 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.479, allocations: 388.4 kB / 0.8238 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.48, allocations: 159.4 kB / 0.8239 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00075/0.4808, allocations: 109.4 kB / 0.824 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4808, allocations: 4.656 kB / 0.824 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000951/0.4817, allocations: 229.7 kB / 0.8243 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.4817, allocations: 2.406 kB / 0.8243 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002522/0.4843, allocations: 481.8 kB / 0.8247 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4843, allocations: 62.55 kB / 0.8248 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.4847, allocations: 415.7 kB / 0.8252 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.4847, allocations: 43.62 kB / 0.8252 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.4848, allocations: 89.62 kB / 0.8253 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.4848, allocations: 45.2 kB / 0.8253 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.485, allocations: 128.4 kB / 0.8255 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.485, allocations: 325.3 kB / 0.8258 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4852, allocations: 115.8 kB / 0.8259 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.4855, allocations: 170.5 kB / 0.826 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.4858, allocations: 273.2 kB / 0.8263 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4858, allocations: 0 / 0.8263 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006886/0.4865, allocations: 0.4891 MB / 0.8268 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.992e-05/0.4865, allocations: 88.89 kB / 0.8269 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4865, allocations: 8.641 kB / 0.8269 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4865, allocations: 5.906 kB / 0.8269 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4867, allocations: 22.92 kB / 0.8269 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4867, allocations: 6.375 kB / 0.8269 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.4872, allocations: 58.38 kB / 0.827 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.4872, allocations: 62.73 kB / 0.827 GB, free: 2.09 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.0001746/0.4874, allocations: 194.2 kB / 0.8272 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.4875, allocations: 44.45 kB / 0.8273 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.4875, allocations: 39.77 kB / 0.8273 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.4875, allocations: 0 / 0.8273 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4875, allocations: 2.969 kB / 0.8273 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4875, allocations: 0.6562 kB / 0.8273 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.4895, allocations: 0.7479 MB / 0.828 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4895, allocations: 0 / 0.828 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.4895, allocations: 10.69 kB / 0.828 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4895, allocations: 0 / 0.828 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.4896, allocations: 26.39 kB / 0.8281 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4896, allocations: 6.562 kB / 0.8281 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4896, allocations: 0.6562 kB / 0.8281 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.4912, allocations: 476.9 kB / 0.8285 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.4915, allocations: 198.4 kB / 0.8287 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.4915, allocations: 12.06 kB / 0.8287 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004658/0.492, allocations: 29.64 kB / 0.8288 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.492, allocations: 5.922 kB / 0.8288 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.4921, allocations: 62.5 kB / 0.8288 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002475/0.4923, allocations: 293.4 kB / 0.8291 GB, free: 1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4923, allocations: 0 / 0.8291 GB, free: 1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003858/0.4927, allocations: 69.58 kB / 0.8292 GB, free: 0.9922 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.0001086/0.4928, allocations: 121.5 kB / 0.8293 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.494, allocations: 403.3 kB / 0.8297 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.494, allocations: 7.188 kB / 0.8297 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007583/0.4948, allocations: 112.1 kB / 0.8298 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.4951, allocations: 27.58 kB / 0.8298 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4965, allocations: 0.6009 MB / 0.8304 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.4968, allocations: 0.7745 MB / 0.8311 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.4968, allocations: 18.89 kB / 0.8312 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.4968, allocations: 3.938 kB / 0.8312 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.005841/0.5027, allocations: 3.692 MB / 0.8348 GB, free: 15.08 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.041361519135535] Failed to read output from testmodel.py, exit status != 0: 0.510287316981703 0.5233903670000001 0.045410266000000005 Calling exit ...