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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001096/0.001096, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001274/0.001274, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.664/2.664, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.00036, allocations: 12 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8551/0.8555, allocations: 153.7 MB / 1.021 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001927/0.8575, allocations: 1.361 MB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.8587, allocations: 455.1 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.8588, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.542e-05/0.8588, allocations: 11.88 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.859, allocations: 27.95 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008051/0.8598, allocations: 210.3 kB / 1.023 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.8601, allocations: 187.7 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.8603, allocations: 25.09 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.8605, allocations: 187.6 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.8608, allocations: 131.7 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.8608, allocations: 12 kB / 1.023 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.8609, allocations: 8 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.861, allocations: 79.78 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.8611, allocations: 81.52 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.8615, allocations: 329.3 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.8615, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8615, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.8615, allocations: 0 / 1.024 GB, free: 14.2 MB / 0.7794 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.001098/0.8626, allocations: 0.6876 MB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.8626, allocations: 8.031 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.8627, allocations: 35.62 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.8632, allocations: 275 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.8633, allocations: 20 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.8633, allocations: 19.98 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.8643, allocations: 233.4 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8643, allocations: 0 / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.8644, allocations: 4 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.8644, allocations: 7.953 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.8652, allocations: 123.9 kB / 1.025 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.8664, allocations: 0.5668 MB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.8674, allocations: 194.5 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.8674, allocations: 3.984 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009325/0.8684, allocations: 234 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.684e-06/0.8684, allocations: 3.938 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002445/0.8708, allocations: 496.9 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.8709, allocations: 59.41 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.8713, allocations: 312.5 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.8713, allocations: 37.7 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.405e-05/0.8714, allocations: 101 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.8715, allocations: 47.44 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.8715, allocations: 4 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8717, allocations: 330.8 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.8719, allocations: 91.94 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.8721, allocations: 157.8 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.8724, allocations: 164.6 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.8724, allocations: 4 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006662/0.873, allocations: 410.9 kB / 1.028 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/0.8731, allocations: 79.38 kB / 1.028 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8732, allocations: 12.17 kB / 1.028 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.8732, allocations: 4 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.8733, allocations: 19.92 kB / 1.028 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.8734, allocations: 7.938 kB / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.8738, allocations: 59.86 kB / 1.028 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.8739, allocations: 47.98 kB / 1.029 GB, free: 9.105 MB / 0.7794 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition1,calTim.calTim.hourSampleTrigger,$whenCondition2,calTim.calTim.daySampleTrigger,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002094/0.8741, allocations: 180.3 kB / 1.029 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.8742, allocations: 35.56 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.8743, allocations: 30.36 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.8743, allocations: 4 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8743, allocations: 0 / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.8743, allocations: 0 / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.8764, allocations: 0.7561 MB / 1.029 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8764, allocations: 0 / 1.029 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.8765, allocations: 4 kB / 1.029 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8765, allocations: 0 / 1.029 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.8765, allocations: 15.97 kB / 1.03 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.8765, allocations: 4 kB / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.8765, allocations: 0 / 1.03 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.8782, allocations: 485.4 kB / 1.03 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.8785, allocations: 192.6 kB / 1.03 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.298e-05/0.8786, allocations: 19.98 kB / 1.03 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.879, allocations: 35.97 kB / 1.03 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.8791, allocations: 15.92 kB / 1.03 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.8792, allocations: 43.97 kB / 1.03 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002446/0.8794, allocations: 227 kB / 1.03 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8794, allocations: 0 / 1.03 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003609/0.8798, allocations: 48 kB / 1.031 GB, free: 6.938 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.88, allocations: 127.2 kB / 1.031 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.8812, allocations: 406.5 kB / 1.031 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.8812, allocations: 4 kB / 1.031 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007414/0.882, allocations: 136.2 kB / 1.031 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.8823, allocations: 28.59 kB / 1.031 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.8838, allocations: 0.5425 MB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.8842, allocations: 0.7521 MB / 1.032 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.257e-05/0.8843, allocations: 21.36 kB / 1.032 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.8843, allocations: 23.42 kB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of SimCode: time 5.31e-07/0.8843, allocations: 0 / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.007612/0.8919, allocations: 3.873 MB / 1.036 GB, free: 0.9883 MB / 0.7794 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches