Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 104 kB / 15.6 MB, free: 148 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.002228/0.002228, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.486/2.486, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 67.89 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.945/0.9467, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003423/0.9502, allocations: 1.727 MB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.9517, allocations: 0.6288 MB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.9518, allocations: 1.375 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.952, allocations: 11.88 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.9522, allocations: 30.78 kB / 0.952 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.9531, allocations: 366.4 kB / 0.9523 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006243/0.9538, allocations: 0.6263 MB / 0.9529 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.9539, allocations: 34.17 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.9543, allocations: 309.8 kB / 0.9533 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.9545, allocations: 151.1 kB / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.9547, allocations: 45.28 kB / 0.9534 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.9548, allocations: 41.44 kB / 0.9535 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.9549, allocations: 128.9 kB / 0.9536 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.9551, allocations: 219.1 kB / 0.9538 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.9556, allocations: 0.5935 MB / 0.9544 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9556, allocations: 4.844 kB / 0.9544 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9556, allocations: 0 / 0.9544 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.9556, allocations: 0 / 0.9544 GB, free: 5.609 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001138/0.9568, allocations: 0.9115 MB / 0.9553 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.9568, allocations: 8.75 kB / 0.9553 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.9569, allocations: 56.31 kB / 0.9553 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.9573, allocations: 339.5 kB / 0.9557 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.9574, allocations: 15.47 kB / 0.9557 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.9574, allocations: 30.11 kB / 0.9557 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.9584, allocations: 239.9 kB / 0.9559 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.9585, allocations: 5.969 kB / 0.956 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.9585, allocations: 7.984 kB / 0.956 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.9585, allocations: 1.812 kB / 0.956 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.9593, allocations: 112.1 kB / 0.9561 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.9605, allocations: 0.6813 MB / 0.9567 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.9615, allocations: 178.8 kB / 0.9569 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.9623, allocations: 113.5 kB / 0.957 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.9623, allocations: 2.75 kB / 0.957 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009554/0.9633, allocations: 235.2 kB / 0.9572 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.9633, allocations: 0 / 0.9572 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00258/0.9659, allocations: 0.493 MB / 0.9577 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.9659, allocations: 63.66 kB / 0.9578 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.9664, allocations: 439.9 kB / 0.9582 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.9664, allocations: 45.97 kB / 0.9582 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.9665, allocations: 101.7 kB / 0.9583 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.9666, allocations: 37.69 kB / 0.9584 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.9668, allocations: 137.4 kB / 0.9585 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.9668, allocations: 330.1 kB / 0.9588 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.9671, allocations: 135.9 kB / 0.959 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.9675, allocations: 193.5 kB / 0.9591 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.9679, allocations: 302.1 kB / 0.9594 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.9679, allocations: 3.984 kB / 0.9594 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009133/0.9688, allocations: 0.5225 MB / 0.9599 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.9689, allocations: 94.34 kB / 0.96 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.969, allocations: 5.859 kB / 0.96 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.969, allocations: 11.11 kB / 0.96 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.9692, allocations: 26.36 kB / 0.9601 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.9692, allocations: 6.375 kB / 0.9601 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.9697, allocations: 54.73 kB / 0.9601 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.9699, allocations: 68.38 kB / 0.9602 GB, free: 1.375 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002383/0.9701, allocations: 217.6 kB / 0.9604 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.9702, allocations: 40.59 kB / 0.9604 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.9703, allocations: 41.48 kB / 0.9605 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.9703, allocations: 5.328 kB / 0.9605 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.9703, allocations: 0 / 0.9605 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9703, allocations: 1.219 kB / 0.9605 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.9725, allocations: 0.7913 MB / 0.9613 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.9725, allocations: 0 / 0.9613 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.9725, allocations: 3.75 kB / 0.9613 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.9726, allocations: 5.406 kB / 0.9613 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.9726, allocations: 23.09 kB / 0.9613 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9726, allocations: 1.156 kB / 0.9613 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9726, allocations: 3.938 kB / 0.9613 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.9743, allocations: 480.9 kB / 0.9618 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.9746, allocations: 243.4 kB / 0.962 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.9747, allocations: 27.86 kB / 0.962 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.9752, allocations: 31.31 kB / 0.962 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.9752, allocations: 7.859 kB / 0.962 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.338e-05/0.9753, allocations: 53.83 kB / 0.9621 GB, free: 60 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004061/0.9757, allocations: 325.6 kB / 0.9624 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9757, allocations: 0 / 0.9624 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004222/0.9762, allocations: 68.5 kB / 0.9625 GB, free: 15.85 MB / 0.7325 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002514/0.9764, allocations: 131.7 kB / 0.9626 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.9778, allocations: 484.6 kB / 0.9631 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.9778, allocations: 0 / 0.9631 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007912/0.9786, allocations: 121.9 kB / 0.9632 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.979, allocations: 45.41 kB / 0.9632 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.9807, allocations: 0.6012 MB / 0.9638 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.9811, allocations: 0.7879 MB / 0.9646 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.41e-05/0.9811, allocations: 13.03 kB / 0.9646 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.9812, allocations: 18.77 kB / 0.9646 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.9812, allocations: 0 / 0.9646 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of Templates: time 0.01089/0.9921, allocations: 5.442 MB / 0.9699 GB, free: 11.23 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches