Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007959/0.007959, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.00139/0.00139, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.827/2.827, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3332, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00277/0.3361, allocations: 1.518 MB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3374, allocations: 0.5442 MB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.3375, allocations: 0 / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.3376, allocations: 3.938 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3378, allocations: 39.56 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007782/0.3385, allocations: 307.2 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.3391, allocations: 0.5033 MB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.3391, allocations: 4 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.3395, allocations: 275.6 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3398, allocations: 143.7 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.3399, allocations: 28 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.34, allocations: 28 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3401, allocations: 119.6 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3403, allocations: 183.1 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005037/0.3408, allocations: 418.4 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3408, allocations: 0 / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3408, allocations: 0 / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.3409, allocations: 3.984 kB / 1.171 GB, free: 2.672 MB / 0.92 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.001465/0.3423, allocations: 0.8859 MB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.3424, allocations: 8.031 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3425, allocations: 56.7 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.3429, allocations: 310.5 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.343, allocations: 24.36 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.3431, allocations: 28.36 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3441, allocations: 214 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3441, allocations: 4.125 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.3442, allocations: 7.922 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3442, allocations: 0 / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007776/0.345, allocations: 95.92 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.3454, allocations: 397.2 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3465, allocations: 178.4 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000761/0.3472, allocations: 104.8 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.3473, allocations: 11.98 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009751/0.3482, allocations: 223.2 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3483, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002654/0.3509, allocations: 498.7 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.351, allocations: 59.41 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.3514, allocations: 409.9 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.3515, allocations: 41.69 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.3516, allocations: 97.44 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.961e-05/0.3516, allocations: 47.62 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.3518, allocations: 121.5 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.352, allocations: 326.8 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.3522, allocations: 115.9 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.3525, allocations: 166.9 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.3529, allocations: 279.5 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3529, allocations: 0 / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007745/0.3537, allocations: 488.7 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.281e-05/0.3538, allocations: 95.31 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3538, allocations: 3.984 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3538, allocations: 4 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.354, allocations: 19.92 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.354, allocations: 8.172 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/0.3545, allocations: 67.8 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.3546, allocations: 59.98 kB / 1.176 GB, free: 12.97 MB / 0.9356 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.0002256/0.3548, allocations: 188 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.3549, allocations: 47.69 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.197e-05/0.355, allocations: 43.75 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.355, allocations: 0 / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.355, allocations: 0 / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.355, allocations: 3.938 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.3573, allocations: 0.7503 MB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.3573, allocations: 0 / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.3573, allocations: 8 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3574, allocations: 0 / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.3574, allocations: 19.97 kB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3574, allocations: 0 / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3574, allocations: 3.938 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.3596, allocations: 487.4 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.3599, allocations: 204.7 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.36, allocations: 8 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.3605, allocations: 27.97 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.3605, allocations: 15.98 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/0.3606, allocations: 55.97 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003185/0.3609, allocations: 295.1 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3609, allocations: 0 / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003996/0.3613, allocations: 67.98 kB / 1.178 GB, free: 10.68 MB / 0.9356 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.0001759/0.3615, allocations: 111.2 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.3629, allocations: 444.3 kB / 1.178 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3629, allocations: 0 / 1.178 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.3636, allocations: 123.8 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.364, allocations: 34.38 kB / 1.179 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3656, allocations: 0.555 MB / 1.179 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.3659, allocations: 0.7784 MB / 1.18 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.366, allocations: 17.08 kB / 1.18 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.366, allocations: 19.42 kB / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.366, allocations: 0 / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of Templates: time 0.00853/0.3746, allocations: 4.935 MB / 1.185 GB, free: 3.496 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches