Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006295/0.006295, allocations: 102 kB / 15.73 MB, free: 6.055 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.001218/0.001218, allocations: 191.4 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 68.12 kB / 1.054 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.207, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003308/1.21, allocations: 1.745 MB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001478/1.212, allocations: 0.6302 MB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.048e-05/1.212, allocations: 0 / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/1.212, allocations: 15.86 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/1.212, allocations: 31.78 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009161/1.213, allocations: 366.8 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006195/1.214, allocations: 0.636 MB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/1.214, allocations: 29.12 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003776/1.214, allocations: 311.6 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/1.215, allocations: 163.3 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/1.215, allocations: 40 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/1.215, allocations: 40 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001336/1.215, allocations: 119.7 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/1.215, allocations: 219 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005565/1.216, allocations: 0.5975 MB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.216, allocations: 0 / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.505e-06/1.216, allocations: 4 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.216, allocations: 0 / 1.213 GB, free: 8.68 MB / 0.9356 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.001417/1.217, allocations: 0.9092 MB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.217, allocations: 12.03 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/1.217, allocations: 48.47 kB / 1.214 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/1.218, allocations: 338.1 kB / 1.214 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/1.218, allocations: 20.38 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-05/1.218, allocations: 36.34 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.219, allocations: 231.5 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.219, allocations: 4.125 kB / 1.214 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/1.219, allocations: 11.94 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/1.219, allocations: 0 / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/1.22, allocations: 119.9 kB / 1.214 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/1.221, allocations: 0.668 MB / 1.215 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.222, allocations: 186.5 kB / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007813/1.223, allocations: 112.8 kB / 1.215 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/1.223, allocations: 4 kB / 1.215 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/1.224, allocations: 239 kB / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/1.224, allocations: 0 / 1.215 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002828/1.227, allocations: 496.9 kB / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.959e-05/1.227, allocations: 59.39 kB / 1.216 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/1.228, allocations: 441.9 kB / 1.216 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/1.228, allocations: 37.7 kB / 1.216 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.228, allocations: 105.3 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/1.228, allocations: 39.53 kB / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/1.228, allocations: 141.2 kB / 1.217 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.229, allocations: 326.8 kB / 1.217 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/1.229, allocations: 139.9 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/1.229, allocations: 191.1 kB / 1.217 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/1.23, allocations: 295.7 kB / 1.218 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.23, allocations: 4 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009325/1.231, allocations: 0.5242 MB / 1.218 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.231, allocations: 95.38 kB / 1.218 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.231, allocations: 4 kB / 1.218 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.231, allocations: 4 kB / 1.218 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/1.231, allocations: 15.98 kB / 1.218 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/1.231, allocations: 7.938 kB / 1.218 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/1.231, allocations: 51.98 kB / 1.218 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.232, allocations: 71.97 kB / 1.218 GB, free: 2.426 MB / 0.9356 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.0003108/1.232, allocations: 220.3 kB / 1.219 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/1.232, allocations: 35.53 kB / 1.219 GB, free: 2.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/1.232, allocations: 47.72 kB / 1.219 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.232, allocations: 4 kB / 1.219 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/1.232, allocations: 3.938 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.232, allocations: 0 / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/1.234, allocations: 0.7888 MB / 1.219 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.234, allocations: 0 / 1.219 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/1.234, allocations: 7.938 kB / 1.219 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.234, allocations: 0 / 1.219 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/1.235, allocations: 27.97 kB / 1.219 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.235, allocations: 7.938 kB / 1.219 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.235, allocations: 0 / 1.219 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.236, allocations: 478 kB / 1.22 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/1.237, allocations: 240.4 kB / 1.22 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/1.237, allocations: 19.98 kB / 1.22 GB, free: 476 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/1.237, allocations: 35.84 kB / 1.22 GB, free: 440 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/1.237, allocations: 7.984 kB / 1.22 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/1.237, allocations: 63.97 kB / 1.22 GB, free: 368 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003361/1.238, allocations: 315.1 kB / 1.221 GB, free: 56 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.238, allocations: 8 kB / 1.221 GB, free: 48 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004129/1.238, allocations: 71.94 kB / 1.221 GB, free: 15.97 MB / 0.9512 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.0002267/1.238, allocations: 123.6 kB / 1.221 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001418/1.24, allocations: 466.9 kB / 1.221 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.24, allocations: 4.062 kB / 1.221 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008224/1.241, allocations: 127.8 kB / 1.221 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/1.241, allocations: 33.53 kB / 1.221 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/1.243, allocations: 0.5982 MB / 1.222 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/1.243, allocations: 0.7867 MB / 1.223 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.738e-05/1.243, allocations: 21.34 kB / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/1.243, allocations: 19.42 kB / 1.223 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of SimCode: time 1.823e-06/1.243, allocations: 4 kB / 1.223 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.009676/1.253, allocations: 5.426 MB / 1.228 GB, free: 8.215 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches