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.001579/0.001579, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001729/0.001729, allocations: 186 kB / 20.78 MB, free: 1.547 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.277 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.002426/0.002426, allocations: 281.7 kB / 304.8 MB, free: 3.418 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.062/1.062, allocations: 180.9 MB / 0.5281 GB, free: 1.973 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 99.84 kB / 0.7283 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5279, allocations: 94.16 MB / 0.8202 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.003578/0.5315, allocations: 1.539 MB / 0.8218 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.5332, allocations: 0.5484 MB / 0.8223 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.5333, allocations: 0 / 0.8223 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.5334, allocations: 13.08 kB / 0.8223 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.5335, allocations: 27 kB / 0.8223 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.5345, allocations: 313.6 kB / 0.8226 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006933/0.5352, allocations: 483.7 kB / 0.8231 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.084e-05/0.5353, allocations: 7.359 kB / 0.8231 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.5358, allocations: 278 kB / 0.8234 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.5361, allocations: 139.2 kB / 0.8235 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.5362, allocations: 30.88 kB / 0.8235 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.2e-05/0.5363, allocations: 26.59 kB / 0.8235 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000164/0.5365, allocations: 120.1 kB / 0.8237 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.5367, allocations: 182.3 kB / 0.8238 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.5372, allocations: 423.4 kB / 0.8242 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5372, allocations: 0 / 0.8242 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5372, allocations: 0 / 0.8242 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.5372, allocations: 1.156 kB / 0.8242 GB, free: 2.004 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.001387/0.5386, allocations: 0.8778 MB / 0.8251 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5386, allocations: 13.62 kB / 0.8251 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.5388, allocations: 58.94 kB / 0.8252 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.5392, allocations: 308.3 kB / 0.8255 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.5392, allocations: 19.23 kB / 0.8255 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.179e-05/0.5393, allocations: 25.89 kB / 0.8255 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/0.5403, allocations: 210.3 kB / 0.8257 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.5403, allocations: 5.734 kB / 0.8257 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.5403, allocations: 11.92 kB / 0.8257 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.5403, allocations: 1.5 kB / 0.8257 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.541, allocations: 99.3 kB / 0.8258 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.5415, allocations: 391.4 kB / 0.8262 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/0.5425, allocations: 163.6 kB / 0.8263 GB, free: 252 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/0.5432, allocations: 106.9 kB / 0.8264 GB, free: 204 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.5432, allocations: 5.375 kB / 0.8265 GB, free: 200 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009273/0.5441, allocations: 224.5 kB / 0.8267 GB, free: 56 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.5441, allocations: 3.938 kB / 0.8267 GB, free: 52 kB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002447/0.5466, allocations: 484.2 kB / 0.8271 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.5466, allocations: 64.19 kB / 0.8272 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.5471, allocations: 414.5 kB / 0.8276 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.5471, allocations: 41.61 kB / 0.8276 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.5472, allocations: 95.78 kB / 0.8277 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.5473, allocations: 45.31 kB / 0.8278 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.5475, allocations: 127.5 kB / 0.8279 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5477, allocations: 321.5 kB / 0.8282 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.5479, allocations: 117.2 kB / 0.8283 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.5482, allocations: 171.1 kB / 0.8285 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.5486, allocations: 271.2 kB / 0.8287 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5486, allocations: 4 kB / 0.8287 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008386/0.5495, allocations: 493.9 kB / 0.8292 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/0.5495, allocations: 91.34 kB / 0.8293 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5495, allocations: 1.406 kB / 0.8293 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.5496, allocations: 2.719 kB / 0.8293 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.5497, allocations: 27.06 kB / 0.8293 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5498, allocations: 6.719 kB / 0.8293 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.5502, allocations: 57.78 kB / 0.8294 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.5503, allocations: 61.05 kB / 0.8294 GB, free: 14.2 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.0002227/0.5505, allocations: 186.5 kB / 0.8296 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.5506, allocations: 48.52 kB / 0.8297 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.5507, allocations: 40 kB / 0.8297 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.5507, allocations: 9.094 kB / 0.8297 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5507, allocations: 1.312 kB / 0.8297 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5507, allocations: 0 / 0.8297 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.5528, allocations: 0.7472 MB / 0.8304 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5528, allocations: 5.125 kB / 0.8304 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.5528, allocations: 7.781 kB / 0.8305 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5528, allocations: 3.984 kB / 0.8305 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.5529, allocations: 24.88 kB / 0.8305 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5529, allocations: 0 / 0.8305 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.5529, allocations: 1.469 kB / 0.8305 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.5546, allocations: 479.7 kB / 0.8309 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.5548, allocations: 199.5 kB / 0.8311 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.5549, allocations: 10.28 kB / 0.8311 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.5553, allocations: 34.06 kB / 0.8312 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.5554, allocations: 13.42 kB / 0.8312 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.5555, allocations: 56.31 kB / 0.8312 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002946/0.5557, allocations: 298.6 kB / 0.8315 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5557, allocations: 0 / 0.8315 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003463/0.5561, allocations: 65.64 kB / 0.8316 GB, free: 12.78 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.0001523/0.5562, allocations: 116.2 kB / 0.8317 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.5575, allocations: 407.3 kB / 0.8321 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5575, allocations: 0 / 0.8321 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/0.5582, allocations: 111.4 kB / 0.8322 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.5585, allocations: 36.98 kB / 0.8322 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.56, allocations: 0.5575 MB / 0.8328 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.5605, allocations: 0.7714 MB / 0.8335 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.627e-05/0.5605, allocations: 11.95 kB / 0.8335 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.341e-05/0.5606, allocations: 18.31 kB / 0.8336 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.5606, allocations: 0 / 0.8336 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.009333/0.5699, allocations: 5.016 MB / 0.8384 GB, free: 8.5 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.358583754859865]