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.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.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.001139/0.001139, allocations: 92.16 kB / 16.02 MB, free: 80 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.001626/0.001626, allocations: 175.5 kB / 16.92 MB, free: 6.652 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.476/1.476, allocations: 223.3 MB / 241 MB, free: 5.34 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.352/2.352, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003284, allocations: 12 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.645/0.6453, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001335/0.6467, allocations: 1.239 MB / 0.9569 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.6478, allocations: 0.5817 MB / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.6479, allocations: 0 / 0.9575 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.538e-05/0.648, allocations: 9.391 kB / 0.9575 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.6481, allocations: 22.23 kB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.6487, allocations: 286.9 kB / 0.9578 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.6491, allocations: 455.4 kB / 0.9582 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.726e-05/0.6491, allocations: 13.56 kB / 0.9582 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003569/0.6495, allocations: 300.2 kB / 0.9585 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.6497, allocations: 165.5 kB / 0.9587 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.6498, allocations: 14.78 kB / 0.9587 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.378e-05/0.6499, allocations: 12.75 kB / 0.9587 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.65, allocations: 116.3 kB / 0.9588 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.6502, allocations: 204.5 kB / 0.959 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.6505, allocations: 314.5 kB / 0.9593 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6505, allocations: 0 / 0.9593 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6505, allocations: 0 / 0.9593 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.6505, allocations: 0 / 0.9593 GB, free: 5.258 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.0008405/0.6513, allocations: 0.7508 MB / 0.96 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.6514, allocations: 9.625 kB / 0.96 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.6515, allocations: 50.72 kB / 0.9601 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.6518, allocations: 309.2 kB / 0.9604 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.6518, allocations: 19.36 kB / 0.9604 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.6519, allocations: 22.38 kB / 0.9604 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6529, allocations: 235.5 kB / 0.9606 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.653, allocations: 192 / 0.9606 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.653, allocations: 5.312 kB / 0.9607 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.653, allocations: 1.375 kB / 0.9607 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.6538, allocations: 119.4 kB / 0.9608 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.6543, allocations: 391.5 kB / 0.9611 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.6554, allocations: 186.9 kB / 0.9613 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.6562, allocations: 121.9 kB / 0.9614 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.6562, allocations: 1 kB / 0.9614 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009691/0.6572, allocations: 240.2 kB / 0.9617 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.6572, allocations: 0 / 0.9617 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002761/0.66, allocations: 0.5127 MB / 0.9622 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.66, allocations: 60.16 kB / 0.9622 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.6604, allocations: 413.3 kB / 0.9626 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.752e-05/0.6605, allocations: 42.34 kB / 0.9627 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.6606, allocations: 95.47 kB / 0.9628 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.6606, allocations: 41.38 kB / 0.9628 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.128e-05/0.6607, allocations: 39.52 kB / 0.9628 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.6608, allocations: 322.5 kB / 0.9631 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.661, allocations: 125.3 kB / 0.9633 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.6613, allocations: 170.9 kB / 0.9634 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.6617, allocations: 279.3 kB / 0.9637 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6617, allocations: 0 / 0.9637 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007796/0.6625, allocations: 495.9 kB / 0.9642 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-05/0.6626, allocations: 92.62 kB / 0.9642 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.6626, allocations: 1.406 kB / 0.9642 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6626, allocations: 2.531 kB / 0.9642 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6628, allocations: 26.97 kB / 0.9643 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.6628, allocations: 2.656 kB / 0.9643 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.6633, allocations: 69.55 kB / 0.9643 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.6634, allocations: 57.45 kB / 0.9644 GB, free: 1.551 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.0002171/0.6637, allocations: 201.5 kB / 0.9646 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.6637, allocations: 41.03 kB / 0.9646 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.6638, allocations: 39.69 kB / 0.9647 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6638, allocations: 1.75 kB / 0.9647 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.6638, allocations: 5 kB / 0.9647 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6638, allocations: 3.984 kB / 0.9647 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.666, allocations: 0.762 MB / 0.9654 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.666, allocations: 0 / 0.9654 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.666, allocations: 4 kB / 0.9654 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.666, allocations: 0.9688 kB / 0.9654 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.6661, allocations: 23.09 kB / 0.9654 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6661, allocations: 5.031 kB / 0.9655 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6661, allocations: 4.969 kB / 0.9655 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.6679, allocations: 499.6 kB / 0.9659 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.6681, allocations: 196 kB / 0.9661 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.6681, allocations: 14.16 kB / 0.9661 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.6686, allocations: 39.3 kB / 0.9662 GB, free: 336 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.909e-05/0.6687, allocations: 12.17 kB / 0.9662 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.6687, allocations: 57.45 kB / 0.9662 GB, free: 320 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002697/0.669, allocations: 294.1 kB / 0.9665 GB, free: 140 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.669, allocations: 0.9688 kB / 0.9665 GB, free: 140 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003783/0.6694, allocations: 65.48 kB / 0.9666 GB, free: 132 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 (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.0001255/0.6695, allocations: 119.5 kB / 0.9667 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.6709, allocations: 460.2 kB / 0.9671 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6709, allocations: 0 / 0.9671 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/0.6717, allocations: 127.6 kB / 0.9673 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.6721, allocations: 30.52 kB / 0.9673 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.6738, allocations: 0.718 MB / 0.968 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.6741, allocations: 0.7753 MB / 0.9687 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.643e-05/0.6742, allocations: 17.92 kB / 0.9688 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.6742, allocations: 0 / 0.9688 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.005967/0.6801, allocations: 3.662 MB / 0.9723 GB, free: 12.44 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches