Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.036/2.036, 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.001299/0.001299, allocations: 197.3 kB / 499.1 MB, free: 4.621 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.277/1.277, 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.0009729/0.0009726, allocations: 107.6 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 53.77 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2129, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002273/0.2153, allocations: 1.538 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.2161, allocations: 444.2 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.2161, allocations: 3.938 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.909e-05/0.2162, allocations: 0 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.533e-05/0.2163, allocations: 20.23 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.2169, allocations: 227.2 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000234/0.2172, allocations: 283.9 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.2172, allocations: 7.984 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.2175, allocations: 218.3 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.2176, allocations: 119.6 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.2177, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.593e-05/0.2178, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.667e-05/0.2179, allocations: 75.78 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.218, allocations: 119.4 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.2182, allocations: 289.1 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2183, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2183, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2183, allocations: 4 kB / 1.221 GB, free: 113.9 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000934/0.2192, allocations: 0.6919 MB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2192, allocations: 15.98 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.644e-05/0.2193, allocations: 35.61 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.2196, allocations: 262.3 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2196, allocations: 19.92 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/0.2197, allocations: 20 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.2199, allocations: 145.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2199, allocations: 3.938 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.2199, allocations: 3.984 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.22, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.2201, allocations: 47.92 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.2203, allocations: 309.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.2205, allocations: 126.7 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2207, allocations: 64.83 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2207, allocations: 0 / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.221, allocations: 236.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.2211, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.000461/0.2215, allocations: 270.2 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.2215, allocations: 63.38 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.2217, allocations: 290.9 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.2218, allocations: 37.7 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.2218, allocations: 93.14 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.2219, allocations: 47.44 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.222, allocations: 105.7 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.2221, allocations: 318.8 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2222, allocations: 92.17 kB / 1.224 GB, free: 110.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.2224, allocations: 155.2 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.2227, allocations: 243.6 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2227, allocations: 4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005184/0.2232, allocations: 420.5 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.2232, allocations: 75.39 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2232, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.2233, allocations: 7.938 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.2234, allocations: 27.91 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2234, allocations: 4 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.2238, allocations: 60.05 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.2239, allocations: 55.98 kB / 1.226 GB, free: 109.3 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.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,$whenCondition3,$whenCondition4) * 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.0001121/0.224, allocations: 172.6 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.2241, allocations: 27.7 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.2241, allocations: 30.25 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2241, allocations: 15.88 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2241, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2241, allocations: 0 / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.2247, allocations: 0.5615 MB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2247, allocations: 3.938 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.2248, allocations: 7.984 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2248, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.2248, allocations: 7.984 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2248, allocations: 0 / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2248, allocations: 4 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.2253, allocations: 0.944 MB / 1.227 GB, free: 107.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.2255, allocations: 152.7 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.2255, allocations: 8 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.2257, allocations: 11.98 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.2258, allocations: 19.97 kB / 1.227 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.2258, allocations: 35.92 kB / 1.227 GB, free: 107.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001233/0.2259, allocations: 213.9 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2259, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003693/0.2263, allocations: 48 kB / 1.228 GB, free: 106.9 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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 8.852e-05/0.2264, allocations: 112.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.2268, allocations: 347.7 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2268, allocations: 8.125 kB / 1.228 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.2269, allocations: 71.91 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.2272, allocations: 26.42 kB / 1.228 GB, free: 106.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005773/0.2278, allocations: 0.6146 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.2279, allocations: 0.7476 MB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.2281, allocations: 41.42 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.2282, allocations: 31.42 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2282, allocations: 4 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of Templates: time 0.006025/0.2342, allocations: 4.124 MB / 1.234 GB, free: 100.7 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)