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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001029/0.001029, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001095/0.001095, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.000416, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7612, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00215/0.7634, allocations: 1.216 MB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.7648, allocations: 0.526 MB / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.7649, allocations: 0 / 0.9561 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.7651, allocations: 3.938 kB / 0.9561 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.7652, allocations: 24.11 kB / 0.9562 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009219/0.7662, allocations: 269.1 kB / 0.9564 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.7668, allocations: 382 kB / 0.9568 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.7668, allocations: 8.828 kB / 0.9568 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/0.7676, allocations: 313.8 kB / 0.9571 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.7682, allocations: 188.1 kB / 0.9573 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.7683, allocations: 16.78 kB / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.7685, allocations: 14.09 kB / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.7687, allocations: 122.8 kB / 0.9574 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.7689, allocations: 90.36 kB / 0.9575 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.7693, allocations: 306 kB / 0.9578 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.7693, allocations: 0 / 0.9578 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7694, allocations: 3.938 kB / 0.9578 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.385e-05/0.7694, allocations: 0 / 0.9578 GB, free: 5.371 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.001547/0.7709, allocations: 0.7619 MB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/0.771, allocations: 9.281 kB / 0.9585 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003579/0.7714, allocations: 61.81 kB / 0.9586 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.772, allocations: 293.2 kB / 0.9589 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.7721, allocations: 14.59 kB / 0.9589 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7722, allocations: 25.55 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/0.7732, allocations: 223.9 kB / 0.9591 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.7732, allocations: 3.984 kB / 0.9591 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.7732, allocations: 5.375 kB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.7732, allocations: 1.375 kB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.7739, allocations: 116.7 kB / 0.9593 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.7743, allocations: 391.4 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009226/0.7753, allocations: 190.9 kB / 0.9598 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006788/0.7759, allocations: 120.8 kB / 0.9599 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.776, allocations: 1.781 kB / 0.9599 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008975/0.7769, allocations: 242.3 kB / 0.9602 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.7769, allocations: 0 / 0.9602 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002473/0.7794, allocations: 0.5031 MB / 0.9607 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.7794, allocations: 60.2 kB / 0.9607 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/0.78, allocations: 409.9 kB / 0.9611 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.773e-05/0.7801, allocations: 42.41 kB / 0.9611 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.7802, allocations: 91.67 kB / 0.9612 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.7802, allocations: 41.39 kB / 0.9613 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.7803, allocations: 13.92 kB / 0.9613 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.7803, allocations: 325.9 kB / 0.9616 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.7806, allocations: 120.5 kB / 0.9617 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.7809, allocations: 166.9 kB / 0.9619 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.7812, allocations: 191.5 kB / 0.962 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7813, allocations: 5.406 kB / 0.9621 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000855/0.7821, allocations: 499.4 kB / 0.9625 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.7822, allocations: 87.34 kB / 0.9626 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.7822, allocations: 1.688 kB / 0.9626 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.7822, allocations: 4.062 kB / 0.9626 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.7824, allocations: 32.94 kB / 0.9627 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7824, allocations: 0 / 0.9627 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.783, allocations: 66.17 kB / 0.9627 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.7831, allocations: 59.95 kB / 0.9628 GB, free: 1.777 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.7833, allocations: 202.5 kB / 0.963 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.7834, allocations: 36.69 kB / 0.963 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.363e-05/0.7834, allocations: 39.91 kB / 0.963 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7835, allocations: 1.281 kB / 0.963 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.7835, allocations: 1.094 kB / 0.963 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.7835, allocations: 7.969 kB / 0.963 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.7856, allocations: 0.765 MB / 0.9638 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7856, allocations: 0 / 0.9638 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.745e-05/0.7857, allocations: 8.469 kB / 0.9638 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.7857, allocations: 1.125 kB / 0.9638 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.7857, allocations: 18.75 kB / 0.9638 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7857, allocations: 1.312 kB / 0.9638 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7858, allocations: 0 / 0.9638 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.7874, allocations: 0.4922 MB / 0.9643 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.7876, allocations: 202.9 kB / 0.9645 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.7877, allocations: 10.5 kB / 0.9645 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.7881, allocations: 39.61 kB / 0.9645 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.7882, allocations: 12.09 kB / 0.9646 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.553e-05/0.7883, allocations: 57.97 kB / 0.9646 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003398/0.7886, allocations: 290 kB / 0.9649 GB, free: 372 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7886, allocations: 1 kB / 0.9649 GB, free: 372 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004627/0.7891, allocations: 65.64 kB / 0.965 GB, free: 364 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/0.7892, allocations: 123.5 kB / 0.9651 GB, free: 256 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.7905, allocations: 454.8 kB / 0.9655 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7905, allocations: 0 / 0.9655 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/0.7912, allocations: 131 kB / 0.9656 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.7916, allocations: 33.39 kB / 0.9657 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.7932, allocations: 0.6528 MB / 0.9663 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.7936, allocations: 0.7717 MB / 0.9671 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.29e-05/0.7937, allocations: 7.969 kB / 0.9671 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.7937, allocations: 17.95 kB / 0.9671 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.7938, allocations: 9.188 kB / 0.9671 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.01208/0.8058, allocations: 4.833 MB / 0.9718 GB, free: 12.03 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