Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 112.8 kB / 17.09 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009816/0.0009816, allocations: 194.9 kB / 18.03 MB, free: 5.066 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.22/1.22, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.669/0.669, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.53 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1125, allocations: 76.18 MB / 0.6327 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002198/0.1147, allocations: 1.506 MB / 0.6342 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1158, allocations: 0.5344 MB / 0.6347 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.1158, allocations: 4 kB / 0.6347 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.76e-05/0.1159, allocations: 11.88 kB / 0.6347 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.116, allocations: 31.78 kB / 0.6348 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.1167, allocations: 310.1 kB / 0.635 GB, free: 2.023 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.1172, allocations: 0.4955 MB / 0.6355 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1172, allocations: 12 kB / 0.6355 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.1176, allocations: 279.6 kB / 0.6358 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.1179, allocations: 147.4 kB / 0.636 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.118, allocations: 28 kB / 0.636 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.1181, allocations: 24 kB / 0.636 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1182, allocations: 119.6 kB / 0.6361 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1183, allocations: 183.1 kB / 0.6363 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.1187, allocations: 422.7 kB / 0.6367 GB, free: 344 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1187, allocations: 4 kB / 0.6367 GB, free: 340 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1187, allocations: 0 / 0.6367 GB, free: 340 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1187, allocations: 0 / 0.6367 GB, free: 340 kB / 478.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.001102/0.1198, allocations: 0.8703 MB / 0.6375 GB, free: 15.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1199, allocations: 8.031 kB / 0.6376 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.12, allocations: 52.47 kB / 0.6376 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.1203, allocations: 310.2 kB / 0.6379 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.1204, allocations: 20.36 kB / 0.6379 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.1205, allocations: 24.36 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00099/0.1215, allocations: 217.1 kB / 0.6382 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1215, allocations: 192 / 0.6382 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.1215, allocations: 7.938 kB / 0.6382 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1215, allocations: 0 / 0.6382 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008088/0.1223, allocations: 103.8 kB / 0.6383 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.1227, allocations: 389.2 kB / 0.6386 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1238, allocations: 174.5 kB / 0.6388 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.1247, allocations: 108.8 kB / 0.6389 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1247, allocations: 4 kB / 0.6389 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009468/0.1256, allocations: 231.5 kB / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.1257, allocations: 0 / 0.6391 GB, free: 13.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002602/0.1283, allocations: 487.3 kB / 0.6396 GB, free: 13.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.1283, allocations: 67.33 kB / 0.6397 GB, free: 13.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.1287, allocations: 409.9 kB / 0.64 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.1287, allocations: 41.69 kB / 0.6401 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.1288, allocations: 97.44 kB / 0.6402 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.1289, allocations: 43.44 kB / 0.6402 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.129, allocations: 129.2 kB / 0.6403 GB, free: 12.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.1291, allocations: 322.8 kB / 0.6406 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.1294, allocations: 115.9 kB / 0.6408 GB, free: 11.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.1297, allocations: 174.4 kB / 0.6409 GB, free: 11.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.13, allocations: 283.2 kB / 0.6412 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.13, allocations: 0 / 0.6412 GB, free: 11.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007386/0.1308, allocations: 489.3 kB / 0.6417 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-05/0.1308, allocations: 87.38 kB / 0.6417 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1309, allocations: 7.938 kB / 0.6418 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1309, allocations: 0 / 0.6418 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.131, allocations: 23.92 kB / 0.6418 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.131, allocations: 8.188 kB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.1315, allocations: 59.84 kB / 0.6418 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.1316, allocations: 59.98 kB / 0.6419 GB, free: 10.66 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.0001966/0.1318, allocations: 195.5 kB / 0.6421 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.1319, allocations: 35.53 kB / 0.6421 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.571e-05/0.1319, allocations: 51.67 kB / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.132, allocations: 0 / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.132, allocations: 0 / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.1322, allocations: 204.4 kB / 0.6424 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.1323, allocations: 19.98 kB / 0.6424 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.1327, allocations: 23.97 kB / 0.6424 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1328, allocations: 11.98 kB / 0.6424 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001705/0.1345, allocations: 420.7 kB / 0.6428 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001771/0.1363, allocations: 0.5435 MB / 0.6433 GB, free: 9.129 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007698/0.1371, allocations: 115.9 kB / 0.6435 GB, free: 9.016 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002634/0.1373, allocations: 295 kB / 0.6437 GB, free: 8.73 MB / 494.1 MB Notification: Performance of Backend: time 3.71e-07/0.1373, allocations: 4 kB / 0.6437 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007782/0.1381, allocations: 409 kB / 0.6441 GB, free: 8.293 MB / 494.1 MB Notification: Performance of SimCode: time 0.0008804/0.139, allocations: 0.9385 MB / 0.645 GB, free: 7.305 MB / 494.1 MB Notification: Performance of Templates: time 0.008169/0.1472, allocations: 5.028 MB / 0.65 GB, free: 2.184 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)