Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 108 kB / 15.61 MB, free: 152 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.002099/0.002099, allocations: 194.8 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.46/2.46, allocations: 390.2 MB / 0.6646 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 63.91 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.928/0.9295, allocations: 140.4 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.002995/0.9326, allocations: 1.742 MB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.9339, allocations: 0.6268 MB / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.934, allocations: 0 / 0.9519 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.9341, allocations: 11.86 kB / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.9343, allocations: 35.81 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.9351, allocations: 361.8 kB / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005655/0.9357, allocations: 0.6343 MB / 0.9529 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.9358, allocations: 38.61 kB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.9362, allocations: 306.6 kB / 0.9533 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.9364, allocations: 150 kB / 0.9534 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.9366, allocations: 40.88 kB / 0.9534 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.9367, allocations: 41.19 kB / 0.9535 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.9368, allocations: 133.6 kB / 0.9536 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.937, allocations: 215 kB / 0.9538 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.9376, allocations: 0.5974 MB / 0.9544 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.9376, allocations: 1.062 kB / 0.9544 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9376, allocations: 0 / 0.9544 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.9376, allocations: 4 kB / 0.9544 GB, free: 5.57 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.001261/0.9389, allocations: 0.9027 MB / 0.9553 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9389, allocations: 9.438 kB / 0.9553 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.9391, allocations: 60.59 kB / 0.9553 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.9394, allocations: 333.4 kB / 0.9557 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.9395, allocations: 20.7 kB / 0.9557 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.9396, allocations: 33.27 kB / 0.9557 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.9407, allocations: 238.9 kB / 0.9559 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9407, allocations: 3.938 kB / 0.9559 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.9407, allocations: 0.9062 kB / 0.956 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.9407, allocations: 2.75 kB / 0.956 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008189/0.9416, allocations: 115.9 kB / 0.9561 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.9428, allocations: 0.6846 MB / 0.9567 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.944, allocations: 183.5 kB / 0.9569 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/0.9448, allocations: 113 kB / 0.957 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.9448, allocations: 2.25 kB / 0.957 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.9458, allocations: 244.5 kB / 0.9573 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.9459, allocations: 0 / 0.9573 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002748/0.9486, allocations: 495.6 kB / 0.9577 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.9487, allocations: 64.89 kB / 0.9578 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006141/0.9493, allocations: 443.2 kB / 0.9582 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.9494, allocations: 38.05 kB / 0.9582 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/0.9495, allocations: 105.7 kB / 0.9583 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.9495, allocations: 38 kB / 0.9584 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.9498, allocations: 136.5 kB / 0.9585 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.9499, allocations: 329.8 kB / 0.9588 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.9503, allocations: 144.1 kB / 0.959 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.9507, allocations: 194 kB / 0.9591 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.9511, allocations: 298.9 kB / 0.9594 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9511, allocations: 0 / 0.9594 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000958/0.9521, allocations: 0.5279 MB / 0.9599 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.232e-05/0.9522, allocations: 92.88 kB / 0.96 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.9522, allocations: 2.281 kB / 0.96 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.9522, allocations: 2.656 kB / 0.96 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.9524, allocations: 25.8 kB / 0.9601 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.9524, allocations: 7.391 kB / 0.9601 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.953, allocations: 62.14 kB / 0.9601 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.9531, allocations: 61.36 kB / 0.9602 GB, free: 1.34 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.0002573/0.9534, allocations: 217.1 kB / 0.9604 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.9534, allocations: 44.86 kB / 0.9604 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.9535, allocations: 40.83 kB / 0.9605 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9535, allocations: 5.391 kB / 0.9605 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9535, allocations: 4 kB / 0.9605 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.9535, allocations: 1.562 kB / 0.9605 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.9557, allocations: 0.7822 MB / 0.9613 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9557, allocations: 5 kB / 0.9613 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.9558, allocations: 12.08 kB / 0.9613 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9558, allocations: 0 / 0.9613 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.9558, allocations: 23.89 kB / 0.9613 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9559, allocations: 2.656 kB / 0.9613 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9559, allocations: 0 / 0.9613 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.9577, allocations: 480.5 kB / 0.9618 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.958, allocations: 243.4 kB / 0.962 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.9581, allocations: 23.53 kB / 0.962 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004869/0.9586, allocations: 30.95 kB / 0.962 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.9586, allocations: 4.781 kB / 0.962 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.9587, allocations: 69 kB / 0.9621 GB, free: 12 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004169/0.9591, allocations: 322 kB / 0.9624 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9591, allocations: 0 / 0.9624 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005286/0.9597, allocations: 68.8 kB / 0.9625 GB, free: 15.8 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.000244/0.9599, allocations: 123.5 kB / 0.9626 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.9614, allocations: 483.7 kB / 0.9631 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9614, allocations: 0 / 0.9631 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008519/0.9623, allocations: 126.5 kB / 0.9632 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.9628, allocations: 36.02 kB / 0.9632 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.9647, allocations: 0.5942 MB / 0.9638 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.9652, allocations: 0.7875 MB / 0.9646 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.769e-05/0.9653, allocations: 17.2 kB / 0.9646 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.56e-05/0.9653, allocations: 18.05 kB / 0.9646 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of SimCode: time 8.81e-07/0.9653, allocations: 0.9688 kB / 0.9646 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.01321/0.9786, allocations: 5.458 MB / 0.9699 GB, free: 11.2 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches