Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_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_9_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.001462/0.001462, 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.00188/0.001881, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.564/2.564, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8613, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002821/0.8642, allocations: 1.576 MB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.8654, allocations: 0.5372 MB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.8655, allocations: 3.938 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.8656, allocations: 1.469 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.8657, allocations: 25.97 kB / 0.9512 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.8666, allocations: 283.5 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.8673, allocations: 0.5068 MB / 0.952 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.042e-05/0.8674, allocations: 13.8 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006267/0.868, allocations: 337.3 kB / 0.9523 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.8684, allocations: 163.5 kB / 0.9524 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.8685, allocations: 26.56 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.382e-05/0.8686, allocations: 27.56 kB / 0.9525 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.8688, allocations: 127.5 kB / 0.9526 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.869, allocations: 190.5 kB / 0.9528 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.8696, allocations: 428.8 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.8696, allocations: 1.219 kB / 0.9532 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8696, allocations: 4 kB / 0.9532 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.8696, allocations: 0 / 0.9532 GB, free: 6.25 MB / 0.7169 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.001627/0.8713, allocations: 0.8674 MB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.8713, allocations: 13.81 kB / 0.9541 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.8715, allocations: 54.41 kB / 0.9541 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.8719, allocations: 309 kB / 0.9544 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.8719, allocations: 18.3 kB / 0.9544 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.872, allocations: 23.12 kB / 0.9545 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.873, allocations: 220.9 kB / 0.9547 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.8731, allocations: 192 / 0.9547 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.8731, allocations: 3.938 kB / 0.9547 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8731, allocations: 3.984 kB / 0.9547 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.8739, allocations: 103.7 kB / 0.9548 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.8743, allocations: 395.5 kB / 0.9552 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.8754, allocations: 173 kB / 0.9553 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.8762, allocations: 111.8 kB / 0.9554 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.8763, allocations: 6.594 kB / 0.9554 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.8773, allocations: 220.2 kB / 0.9556 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/0.8773, allocations: 0 / 0.9556 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002777/0.8801, allocations: 490.5 kB / 0.9561 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.8802, allocations: 68.88 kB / 0.9562 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.8807, allocations: 408.9 kB / 0.9566 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.8808, allocations: 41.91 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.8808, allocations: 96.88 kB / 0.9567 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.8809, allocations: 36.75 kB / 0.9567 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.8812, allocations: 131.5 kB / 0.9569 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.379e-05/0.8812, allocations: 321.7 kB / 0.9572 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.8815, allocations: 125.1 kB / 0.9573 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.8818, allocations: 166.8 kB / 0.9574 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.8821, allocations: 280.7 kB / 0.9577 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8821, allocations: 0 / 0.9577 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007985/0.8829, allocations: 488.8 kB / 0.9582 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.883, allocations: 94.28 kB / 0.9583 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.883, allocations: 5.219 kB / 0.9583 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.8831, allocations: 2.844 kB / 0.9583 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.8833, allocations: 30.03 kB / 0.9583 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.8833, allocations: 3.375 kB / 0.9583 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.8838, allocations: 58.23 kB / 0.9584 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.884, allocations: 56.61 kB / 0.9584 GB, free: 2.457 MB / 0.7169 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.0002389/0.8842, allocations: 193.9 kB / 0.9586 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.8843, allocations: 48.77 kB / 0.9586 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.548e-05/0.8844, allocations: 35.66 kB / 0.9587 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.8844, allocations: 2.406 kB / 0.9587 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8844, allocations: 3.938 kB / 0.9587 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8844, allocations: 5.219 kB / 0.9587 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.8866, allocations: 0.7559 MB / 0.9594 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8866, allocations: 0 / 0.9594 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.8867, allocations: 3.5 kB / 0.9594 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8867, allocations: 1.125 kB / 0.9594 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.8867, allocations: 24.53 kB / 0.9595 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8867, allocations: 0 / 0.9595 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8867, allocations: 5.031 kB / 0.9595 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.8885, allocations: 480.6 kB / 0.9599 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.8888, allocations: 199.6 kB / 0.9601 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.8889, allocations: 9.312 kB / 0.9601 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.8894, allocations: 39.36 kB / 0.9602 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.8894, allocations: 4.438 kB / 0.9602 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.8895, allocations: 61.06 kB / 0.9602 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002845/0.8898, allocations: 293.9 kB / 0.9605 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8898, allocations: 0 / 0.9605 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004434/0.8902, allocations: 66.14 kB / 0.9606 GB, free: 1.035 MB / 0.7169 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.0001369/0.8904, allocations: 123 kB / 0.9607 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.8917, allocations: 447.8 kB / 0.9611 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8918, allocations: 0 / 0.9611 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.8925, allocations: 121.2 kB / 0.9612 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.8929, allocations: 30.28 kB / 0.9613 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.8944, allocations: 0.6598 MB / 0.9619 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.8948, allocations: 0.7854 MB / 0.9627 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.269e-05/0.8949, allocations: 16.33 kB / 0.9627 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.8949, allocations: 15.03 kB / 0.9627 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of SimCode: time 1.723e-06/0.8949, allocations: 0 / 0.9627 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of Templates: time 0.01042/0.9054, allocations: 5.116 MB / 0.9677 GB, free: 12.54 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches