Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.5 MB / 267.4 MB, free: 11.09 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 183.4 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007706/0.0007706, allocations: 85.23 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003461, allocations: 11.84 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.224, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.001701/0.2257, allocations: 1.413 MB / 0.8982 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.2267, allocations: 0.5001 MB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.657e-05/0.2268, allocations: 0 / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2269, allocations: 7.922 kB / 0.8987 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.2271, allocations: 28.22 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.2277, allocations: 258 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.228, allocations: 351.8 kB / 0.8993 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2281, allocations: 37.3 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.2284, allocations: 218.3 kB / 0.8995 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.2287, allocations: 131.5 kB / 0.8996 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.669e-05/0.2287, allocations: 12 kB / 0.8996 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.2288, allocations: 8 kB / 0.8997 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.2289, allocations: 79.72 kB / 0.8997 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.229, allocations: 127.3 kB / 0.8998 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.2293, allocations: 398.6 kB / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2293, allocations: 0 / 0.9002 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.756e-06/0.2293, allocations: 8 kB / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.2294, allocations: 0 / 0.9002 GB, free: 64.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001043/0.2304, allocations: 0.6335 MB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2305, allocations: 8.031 kB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.2306, allocations: 35.62 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2309, allocations: 274.9 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/0.231, allocations: 23.98 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.231, allocations: 20 kB / 0.9012 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.2313, allocations: 177.4 kB / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2313, allocations: 0 / 0.9014 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.2314, allocations: 4 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2314, allocations: 4 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.2315, allocations: 58.03 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2325, allocations: 0.5627 MB / 0.902 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.2328, allocations: 138.7 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.2329, allocations: 64.83 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.233, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.2334, allocations: 224.1 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.2334, allocations: 4 kB / 0.9024 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005243/0.2339, allocations: 291.5 kB / 0.9027 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.2339, allocations: 55.41 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.2342, allocations: 328.3 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.2343, allocations: 37.7 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.2343, allocations: 105 kB / 0.9032 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.2344, allocations: 35.61 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.2344, allocations: 37.7 kB / 0.9032 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.2345, allocations: 330.8 kB / 0.9036 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2347, allocations: 108.2 kB / 0.9037 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.2349, allocations: 158.4 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.2352, allocations: 261.2 kB / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2352, allocations: 0 / 0.9041 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005926/0.2358, allocations: 441.1 kB / 0.9045 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.2359, allocations: 79.58 kB / 0.9046 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.2359, allocations: 4 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.2359, allocations: 4 kB / 0.9046 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2361, allocations: 27.91 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2361, allocations: 4 kB / 0.9046 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.2366, allocations: 71.8 kB / 0.9047 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/0.2367, allocations: 55.98 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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.0001697/0.2369, allocations: 193.7 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.2369, allocations: 27.62 kB / 0.9049 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.237, allocations: 34.36 kB / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.237, allocations: 0 / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.237, allocations: 0 / 0.905 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.2372, allocations: 188.7 kB / 0.9051 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.2372, allocations: 8 kB / 0.9052 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2374, allocations: 19.92 kB / 0.9052 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.2375, allocations: 15.92 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003815/0.2378, allocations: 296.8 kB / 0.9055 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003685/0.2382, allocations: 404.1 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001244/0.2384, allocations: 71.95 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001556/0.2385, allocations: 230.9 kB / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of Backend: time 6.51e-07/0.2385, allocations: 0 / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007045/0.2392, allocations: 401.5 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0008051/0.2401, allocations: 0.9464 MB / 0.9075 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of Templates: time 0.007797/0.2479, allocations: 4.632 MB / 0.912 GB, free: 52.18 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)