Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 391.2 MB / 407 MB, free: 10.85 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.001285/0.001285, allocations: 186.8 kB / 499.1 MB, free: 4.691 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.584/1.584, allocations: 222.9 MB / 0.7948 GB, free: 15.83 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.001205/0.001205, allocations: 110.4 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 50.53 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.323, 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.CalendarTimeMonthsPlus): time 0.003282/0.3263, allocations: 1.722 MB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3274, allocations: 0.4923 MB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.3276, allocations: 0 / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3277, allocations: 7.938 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.3279, allocations: 28.22 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.3287, allocations: 254.7 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003305/0.329, allocations: 351.8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3292, allocations: 33.41 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.3295, allocations: 226.3 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.3298, allocations: 131.5 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.3298, allocations: 12 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.3299, allocations: 12 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.33, allocations: 83.72 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.3302, allocations: 135.3 kB / 1.222 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.3306, allocations: 408.8 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3306, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3306, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.3306, allocations: 0 / 1.222 GB, free: 113.3 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.001255/0.3319, allocations: 0.723 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3319, allocations: 11.98 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.332, allocations: 35.72 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.3324, allocations: 290.7 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.3324, allocations: 19.94 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.3325, allocations: 16 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.3328, allocations: 175 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3328, allocations: 4 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.3329, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3329, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.333, allocations: 63.97 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.3341, allocations: 0.5588 MB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3344, allocations: 130.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3345, allocations: 69.08 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.3345, allocations: 8 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004699/0.335, allocations: 225.3 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.335, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.000522/0.3355, allocations: 290.2 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3356, allocations: 63.39 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.3358, allocations: 320.4 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.3359, allocations: 41.69 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.336, allocations: 97.05 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.336, allocations: 35.52 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3362, allocations: 121.7 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.3362, allocations: 322.8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3364, allocations: 112.2 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.3368, allocations: 167.2 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.3372, allocations: 263.5 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3372, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006994/0.3379, allocations: 440.6 kB / 1.226 GB, free: 108.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/0.338, allocations: 79.38 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.338, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.338, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3382, allocations: 35.89 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3382, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.3387, allocations: 63.89 kB / 1.227 GB, free: 108.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.3387, allocations: 51.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.0001721/0.3389, allocations: 190.3 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.339, allocations: 27.7 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.339, allocations: 26.36 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.339, allocations: 4 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.339, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.339, allocations: 0 / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/0.3397, allocations: 0.6122 MB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3397, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.3398, allocations: 7.984 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3398, allocations: 4 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3398, allocations: 7.984 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.3398, allocations: 0 / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3398, allocations: 11.88 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.3404, allocations: 0.9596 MB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.3406, allocations: 188.6 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.077e-05/0.3407, allocations: 12 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.3409, allocations: 11.98 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.3409, allocations: 15.98 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.341, allocations: 31.97 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001542/0.3411, allocations: 223 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3411, allocations: 4 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004048/0.3415, allocations: 56 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.0002481/0.3418, allocations: 126.5 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.3423, allocations: 367.4 kB / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3424, allocations: 0 / 1.229 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3425, 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.0004108/0.3429, allocations: 43.38 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.0009307/0.3439, allocations: 0.6548 MB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3441, allocations: 0.7569 MB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.3443, allocations: 49.36 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3444, allocations: 39.42 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of SimCode: time 3.51e-07/0.3444, allocations: 0 / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of Templates: time 0.007657/0.3521, allocations: 4.545 MB / 1.235 GB, free: 99.05 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)