Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.354/2.354, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 199.4 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 111.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 51.19 kB / 1.081 GB, free: 218.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2719, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002474/0.2744, allocations: 1.719 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.2753, allocations: 0.5014 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.2753, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.981e-05/0.2754, allocations: 3.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.858e-05/0.2756, allocations: 20.23 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005531/0.2761, allocations: 260.7 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.2764, allocations: 355.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2765, allocations: 25.44 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.2767, allocations: 226.3 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.2769, allocations: 131.5 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.277, allocations: 8 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.2771, allocations: 12 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.2772, allocations: 79.72 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2773, allocations: 135.3 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.2776, allocations: 412.8 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2776, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2776, allocations: 4 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2776, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 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.001008/0.2786, allocations: 0.7308 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2786, allocations: 11.98 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.2787, allocations: 31.72 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.279, allocations: 282.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.2791, allocations: 23.94 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.2791, allocations: 20 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.2794, allocations: 169.4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2794, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.2794, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.2795, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.2796, allocations: 55.97 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009516/0.2806, allocations: 0.5666 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.2808, allocations: 134.7 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2809, allocations: 65.08 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.281, allocations: 8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004033/0.2814, allocations: 229 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.2814, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0004952/0.2819, allocations: 286.1 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2819, allocations: 63.34 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.2821, allocations: 316.4 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.2822, allocations: 45.69 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.2823, allocations: 93.05 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.2823, allocations: 43.5 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2824, allocations: 113.7 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.053e-05/0.2825, allocations: 330.7 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.2827, allocations: 112.2 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2829, allocations: 163.2 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.2832, allocations: 254.9 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2832, allocations: 3.938 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005677/0.2837, allocations: 445.3 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.2838, allocations: 76.64 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2838, allocations: 8.172 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2838, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.284, allocations: 31.91 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.284, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.2845, allocations: 63.73 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.2845, allocations: 55.98 kB / 1.227 GB, free: 108.2 MB / 0.823 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.0001382/0.2847, allocations: 186.3 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.2847, allocations: 27.7 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.2848, allocations: 34.36 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2848, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2848, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.2848, allocations: 3.984 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.2854, allocations: 0.5996 MB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2854, allocations: 4 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.2855, allocations: 15.98 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2855, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.2855, allocations: 11.98 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2855, allocations: 3.938 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2855, allocations: 3.938 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.2861, allocations: 0.9596 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2863, allocations: 188.6 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.2863, allocations: 12 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.2865, allocations: 11.98 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.2866, allocations: 11.98 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.2866, allocations: 35.97 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001438/0.2868, allocations: 227 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2868, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003774/0.2872, allocations: 52 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001449/0.2873, allocations: 126.5 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004546/0.2878, allocations: 367.9 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2878, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.2879, allocations: 75.91 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.2883, allocations: 39 kB / 1.229 GB, free: 105.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.289, allocations: 0.6678 MB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.2892, allocations: 0.7615 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001248/0.2893, allocations: 37.42 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.2894, allocations: 35.42 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.2894, allocations: 0 / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of Templates: time 0.006356/0.2958, allocations: 4.548 MB / 1.235 GB, free: 99.05 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)