Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001826/0.001826, allocations: 192.5 kB / 16.25 MB, free: 6.625 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7448 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 58.23 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.299, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002648/0.3017, allocations: 1.571 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3029, allocations: 0.5511 MB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.303, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.3031, allocations: 7.922 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.3032, allocations: 15.94 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.3041, allocations: 294.8 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.3047, allocations: 0.4994 MB / 1.071 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.036e-05/0.3048, allocations: 11.92 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.3054, allocations: 343 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.3058, allocations: 163.4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.3059, allocations: 24 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.3059, allocations: 28 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.3061, allocations: 123.4 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.3064, allocations: 202.8 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005089/0.3069, allocations: 426.9 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.3069, allocations: 7.938 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3069, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.3069, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 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.00168/0.3086, allocations: 0.8704 MB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.3087, allocations: 8.031 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3089, allocations: 52.47 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.3093, allocations: 310.3 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.3094, allocations: 16.36 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.3095, allocations: 32.36 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.3105, allocations: 206 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.3105, allocations: 192 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3106, allocations: 3.938 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3106, allocations: 3.938 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.3114, allocations: 103.9 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.3119, allocations: 397.1 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3129, allocations: 174.5 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007565/0.3137, allocations: 108.8 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3137, allocations: 8.359 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009792/0.3147, allocations: 224.3 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.3147, allocations: 0 / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002669/0.3174, allocations: 490.7 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.3174, allocations: 63.41 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.3179, allocations: 405.9 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/0.318, allocations: 41.69 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.318, allocations: 93.44 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.3181, allocations: 47.44 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3183, allocations: 129.3 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.3184, allocations: 322.8 kB / 1.076 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.3187, allocations: 119.9 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.319, allocations: 175 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.3194, allocations: 275.2 kB / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.3194, allocations: 0 / 1.076 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008664/0.3203, allocations: 0.4949 MB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.95e-05/0.3204, allocations: 87.31 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3204, allocations: 3.938 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3204, allocations: 7.938 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.3206, allocations: 27.97 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3206, allocations: 3.938 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.3212, allocations: 63.98 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/0.3213, allocations: 55.98 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB 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.0003035/0.3216, allocations: 200 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.3217, allocations: 39.47 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.167e-05/0.3217, allocations: 35.75 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3218, allocations: 4 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3218, allocations: 0 / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3218, allocations: 3.984 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.3241, allocations: 0.7441 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3241, allocations: 4 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.3242, allocations: 3.938 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3242, allocations: 8 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.3242, allocations: 23.97 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3243, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3243, allocations: 0 / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.326, allocations: 480.5 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3262, allocations: 192.5 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/0.3263, allocations: 19.94 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.3268, allocations: 31.95 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.3269, allocations: 7.984 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.3269, allocations: 55.98 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003039/0.3272, allocations: 299.1 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3273, allocations: 0 / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004563/0.3277, allocations: 63.98 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0002088/0.3279, allocations: 126 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001391/0.3293, allocations: 442.5 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3293, allocations: 0 / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.3301, allocations: 122 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.3305, allocations: 33.42 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.3321, allocations: 0.6649 MB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.3325, allocations: 0.7785 MB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.34e-05/0.3326, allocations: 17.06 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.3327, allocations: 15.42 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of SimCode: time 8.42e-07/0.3327, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.009572/0.3422, allocations: 5.108 MB / 1.086 GB, free: 7.148 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)