Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001304, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.47/2.47, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 71.89 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9524, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.004467/0.9569, allocations: 1.516 MB / 0.951 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.959, allocations: 0.5365 MB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.9592, allocations: 1.281 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.9593, allocations: 11.81 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.9595, allocations: 31.25 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.961, allocations: 316.9 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009531/0.9619, allocations: 0.5007 MB / 0.9524 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.962, allocations: 16.06 kB / 0.9524 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007353/0.9628, allocations: 269.7 kB / 0.9527 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.9633, allocations: 132.9 kB / 0.9528 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.9635, allocations: 30.78 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.9636, allocations: 26.47 kB / 0.9529 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.9638, allocations: 120.3 kB / 0.953 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.9643, allocations: 183.5 kB / 0.9531 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.9654, allocations: 423.5 kB / 0.9536 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.9655, allocations: 3.984 kB / 0.9536 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.459e-06/0.9655, allocations: 0 / 0.9536 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.778e-05/0.9656, allocations: 1.469 kB / 0.9536 GB, free: 6.332 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.003782/0.9693, allocations: 0.8708 MB / 0.9544 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001024/0.9695, allocations: 13.27 kB / 0.9544 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/0.97, allocations: 54.56 kB / 0.9545 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.971, allocations: 301.4 kB / 0.9548 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.9712, allocations: 19.16 kB / 0.9548 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.9714, allocations: 30.2 kB / 0.9548 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.9732, allocations: 213.6 kB / 0.955 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.9732, allocations: 1.375 kB / 0.955 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.9733, allocations: 5.188 kB / 0.955 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.9733, allocations: 5.156 kB / 0.955 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.9747, allocations: 99.8 kB / 0.9551 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.976, allocations: 387.1 kB / 0.9555 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.9778, allocations: 181.8 kB / 0.9557 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.9791, allocations: 107.3 kB / 0.9558 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.9791, allocations: 1.375 kB / 0.9558 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/0.9807, allocations: 225.9 kB / 0.956 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 3.767e-06/0.9808, allocations: 0 / 0.956 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.003987/0.9848, allocations: 487.2 kB / 0.9564 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.9849, allocations: 63.89 kB / 0.9565 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007993/0.9857, allocations: 409.6 kB / 0.9569 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.9858, allocations: 45.91 kB / 0.9569 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.986, allocations: 91.94 kB / 0.957 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.9861, allocations: 42.02 kB / 0.9571 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.9864, allocations: 131.7 kB / 0.9572 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/0.9865, allocations: 321 kB / 0.9575 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.9869, allocations: 121.1 kB / 0.9576 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.9873, allocations: 175.8 kB / 0.9578 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004961/0.9878, allocations: 283.3 kB / 0.9581 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9878, allocations: 0 / 0.9581 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001248/0.9891, allocations: 496 kB / 0.9585 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.9892, allocations: 92.41 kB / 0.9586 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.9892, allocations: 1.312 kB / 0.9586 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.9893, allocations: 2.688 kB / 0.9586 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.9895, allocations: 22.92 kB / 0.9586 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.9895, allocations: 6.609 kB / 0.9586 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007787/0.9903, allocations: 62.42 kB / 0.9587 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.9904, allocations: 60.36 kB / 0.9588 GB, free: 2.535 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.0003312/0.9908, allocations: 199.4 kB / 0.959 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.9909, allocations: 43.8 kB / 0.959 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.991, allocations: 36.25 kB / 0.959 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.991, allocations: 1.094 kB / 0.959 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.991, allocations: 1.062 kB / 0.959 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9911, allocations: 4 kB / 0.959 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.9939, allocations: 0.7472 MB / 0.9598 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9939, allocations: 0 / 0.9598 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.994, allocations: 7.781 kB / 0.9598 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.994, allocations: 1.344 kB / 0.9598 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/0.994, allocations: 27.09 kB / 0.9598 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.994, allocations: 1.25 kB / 0.9598 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.994, allocations: 0 / 0.9598 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.9958, allocations: 477.7 kB / 0.9603 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.9961, allocations: 195.2 kB / 0.9604 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.896e-05/0.9962, allocations: 13.38 kB / 0.9605 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.9967, allocations: 28.78 kB / 0.9605 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.9967, allocations: 8.422 kB / 0.9605 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/0.9968, allocations: 64.91 kB / 0.9606 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003283/0.9972, allocations: 298.5 kB / 0.9608 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9972, allocations: 0 / 0.9608 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005207/0.9977, allocations: 66.33 kB / 0.9609 GB, free: 1.113 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.0001696/0.9979, allocations: 115.6 kB / 0.961 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.9993, allocations: 451.8 kB / 0.9614 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9993, allocations: 0 / 0.9614 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/1, allocations: 124.5 kB / 0.9616 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/1.001, allocations: 32.03 kB / 0.9616 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/1.002, allocations: 0.5397 MB / 0.9621 GB, free: 348 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/1.003, allocations: 0.7867 MB / 0.9629 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.639e-05/1.003, allocations: 11.55 kB / 0.9629 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/1.003, allocations: 14.22 kB / 0.9629 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/1.003, allocations: 0 / 0.9629 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.01278/1.015, allocations: 4.968 MB / 0.9678 GB, free: 12.84 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches