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/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="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_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.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001736/0.001736, allocations: 193.5 kB / 16.13 MB, free: 6.66 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.17 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3395, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002955/0.3425, allocations: 1.582 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.3438, allocations: 0.5911 MB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.3439, allocations: 4 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.3441, allocations: 11.92 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.3442, allocations: 27.84 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.3449, allocations: 279.5 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.3453, allocations: 447.5 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3454, allocations: 11.97 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.3458, allocations: 318.9 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.3461, allocations: 155.5 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.507e-05/0.3462, allocations: 12 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.3462, allocations: 19.94 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.3464, allocations: 115.5 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.3466, allocations: 178.8 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.347, allocations: 414.9 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.347, allocations: 0 / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.347, allocations: 3.938 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.347, allocations: 0 / 1.072 GB, free: 6.777 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.001161/0.3482, allocations: 0.8704 MB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3482, allocations: 12.03 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.3484, allocations: 48.47 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.3487, allocations: 310.3 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.3488, allocations: 20.36 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.3488, allocations: 20.38 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3499, allocations: 217.5 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3499, allocations: 192 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.35, allocations: 11.94 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.35, allocations: 0 / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.3509, allocations: 99.86 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.3513, allocations: 401.1 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3525, allocations: 174.6 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.3533, allocations: 112.8 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3533, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.3544, allocations: 231 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3544, allocations: 0 / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002867/0.3573, allocations: 483 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.3574, allocations: 63.39 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.3578, allocations: 409.9 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.639e-05/0.3578, allocations: 45.62 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.3579, allocations: 97.44 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.358, allocations: 39.45 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.3582, allocations: 129.3 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.3583, allocations: 326.8 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.3585, allocations: 119.9 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.3588, allocations: 173.9 kB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.3592, allocations: 271.2 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3592, allocations: 4 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000813/0.36, allocations: 494.5 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.3601, allocations: 99.25 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3601, allocations: 0 / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3602, allocations: 4.188 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.3603, allocations: 23.97 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3604, allocations: 7.938 kB / 1.077 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005439/0.3609, allocations: 59.8 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.361, allocations: 59.98 kB / 1.077 GB, free: 1.102 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.0002079/0.3612, allocations: 196 kB / 1.077 GB, free: 0.9023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.3613, allocations: 47.41 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.3613, allocations: 39.75 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3614, allocations: 0 / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3614, allocations: 0 / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3614, allocations: 3.984 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.3637, allocations: 0.7441 MB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3637, allocations: 0 / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.3638, allocations: 7.938 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3638, allocations: 0 / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/0.3638, allocations: 24.03 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3638, allocations: 0 / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3639, allocations: 4 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.3657, allocations: 476.9 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.366, allocations: 204.4 kB / 1.078 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.308e-05/0.3661, allocations: 8 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000515/0.3666, allocations: 39.95 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.3666, allocations: 4 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.3667, allocations: 59.97 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002715/0.367, allocations: 291.1 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.367, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003594/0.3674, allocations: 71.98 kB / 1.079 GB, free: 14.81 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.0001386/0.3675, allocations: 127 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001297/0.3688, allocations: 430.5 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3688, allocations: 3.938 kB / 1.079 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.3697, allocations: 128.2 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.37, allocations: 31.73 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3716, allocations: 0.6547 MB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.3721, allocations: 0.7787 MB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.193e-05/0.3721, allocations: 17.08 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.3722, allocations: 15.44 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of SimCode: time 2.444e-06/0.3722, allocations: 0 / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.009179/0.3814, allocations: 4.959 MB / 1.086 GB, free: 7.5 MB / 0.8419 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches