Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01428/0.01428, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.002593/0.002593, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.898/2.898, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.91 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4366, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003872/0.4406, allocations: 1.743 MB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.4423, allocations: 0.6212 MB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001652/0.4424, allocations: 0 / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.4426, allocations: 15.8 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.4428, allocations: 27.84 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.4439, allocations: 370.1 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007197/0.4446, allocations: 0.6321 MB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.4448, allocations: 33.11 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.4452, allocations: 311.6 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.4455, allocations: 163.3 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.4456, allocations: 40 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-05/0.4457, allocations: 40 kB / 1.212 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.4459, allocations: 119.7 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.4461, allocations: 223 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.4467, allocations: 0.5958 MB / 1.213 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4467, allocations: 4 kB / 1.213 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4467, allocations: 4 kB / 1.213 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.726e-06/0.4468, allocations: 0 / 1.213 GB, free: 4.672 MB / 0.9669 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.001368/0.4481, allocations: 0.9092 MB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4482, allocations: 8.625 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.4483, allocations: 56.45 kB / 1.214 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.4488, allocations: 334.2 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.4489, allocations: 20.36 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.449, allocations: 28.38 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.45, allocations: 235.6 kB / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.45, allocations: 192 / 1.214 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.45, allocations: 11.92 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.45, allocations: 4 kB / 1.214 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.4508, allocations: 115.9 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.4523, allocations: 0.6758 MB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.4533, allocations: 186.4 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007221/0.4541, allocations: 112.8 kB / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.4541, allocations: 0 / 1.215 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.4551, allocations: 231.2 kB / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.4551, allocations: 0 / 1.215 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002527/0.4577, allocations: 0.4918 MB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.4577, allocations: 67.31 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.4583, allocations: 445.8 kB / 1.216 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/0.4583, allocations: 41.69 kB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.4584, allocations: 105.4 kB / 1.217 GB, free: 404 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.4585, allocations: 31.47 kB / 1.217 GB, free: 372 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.4587, allocations: 145.3 kB / 1.217 GB, free: 220 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.4589, allocations: 326.8 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.4592, allocations: 139.9 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.4595, allocations: 183.2 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.4599, allocations: 302.8 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4599, allocations: 0 / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000843/0.4608, allocations: 0.5222 MB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.4609, allocations: 95.38 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4609, allocations: 4 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.461, allocations: 0 / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4611, allocations: 23.92 kB / 1.218 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.4612, allocations: 7.984 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.4616, allocations: 55.95 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.4617, allocations: 63.97 kB / 1.218 GB, free: 14.43 MB / 0.9825 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.000261/0.462, allocations: 228.2 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.199e-05/0.4621, allocations: 35.53 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.434e-05/0.4621, allocations: 43.78 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.4622, allocations: 4 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.4622, allocations: 0 / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4622, allocations: 0 / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/0.4645, allocations: 0.7911 MB / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4645, allocations: 0 / 1.219 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.4645, allocations: 4 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4645, allocations: 0 / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/0.4646, allocations: 27.97 kB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.4646, allocations: 3.938 kB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4646, allocations: 0 / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.4663, allocations: 487.2 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/0.4666, allocations: 240.4 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.465e-05/0.4667, allocations: 20 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.4672, allocations: 35.91 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.4672, allocations: 7.984 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.4673, allocations: 63.97 kB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003377/0.4676, allocations: 315.1 kB / 1.221 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4677, allocations: 0 / 1.221 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004208/0.4681, allocations: 71.98 kB / 1.221 GB, free: 11.98 MB / 0.9825 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.00026/0.4684, allocations: 134.4 kB / 1.221 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.4697, allocations: 474.7 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4697, allocations: 4.062 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007454/0.4705, allocations: 131.8 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.471, allocations: 30.42 kB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.4726, allocations: 0.5946 MB / 1.222 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.4731, allocations: 0.7902 MB / 1.223 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.824e-05/0.4731, allocations: 13.42 kB / 1.223 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.4732, allocations: 15.44 kB / 1.223 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.4732, allocations: 4 kB / 1.223 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of Templates: time 0.01008/0.4833, allocations: 5.523 MB / 1.228 GB, free: 4.102 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches