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.009625/0.009625, allocations: 102 kB / 15.73 MB, free: 6.051 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.001622/0.001622, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.691/1.691, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.857/2.857, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264/1.265, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003055/1.268, allocations: 1.739 MB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001537/1.27, allocations: 0.6246 MB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/1.27, allocations: 0 / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/1.27, allocations: 15.86 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/1.27, allocations: 31.78 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008777/1.271, allocations: 359 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006133/1.272, allocations: 0.6438 MB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/1.272, allocations: 29.09 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003863/1.272, allocations: 315.6 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/1.272, allocations: 159.3 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.026e-05/1.273, allocations: 40 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/1.273, allocations: 44 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/1.273, allocations: 119.7 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/1.273, allocations: 219 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/1.274, allocations: 0.5975 MB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.274, allocations: 4 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.563e-06/1.274, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.618e-06/1.274, allocations: 0 / 1.213 GB, free: 8.699 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.001377/1.275, allocations: 0.9053 MB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.275, allocations: 12.03 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/1.275, allocations: 52.47 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/1.276, allocations: 342.1 kB / 1.214 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/1.276, allocations: 24.36 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/1.276, allocations: 28.38 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.277, allocations: 236.4 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.277, allocations: 4.125 kB / 1.214 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/1.277, allocations: 7.938 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.277, allocations: 0 / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008162/1.278, allocations: 115.9 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/1.279, allocations: 0.672 MB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.28, allocations: 178.5 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008846/1.281, allocations: 112.8 kB / 1.215 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/1.281, allocations: 4 kB / 1.215 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.282, allocations: 245 kB / 1.215 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/1.282, allocations: 0 / 1.215 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002776/1.285, allocations: 0.4891 MB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/1.285, allocations: 63.39 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/1.285, allocations: 437.9 kB / 1.216 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.171e-05/1.285, allocations: 45.69 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.286, allocations: 105.3 kB / 1.216 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/1.286, allocations: 35.55 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/1.286, allocations: 141.2 kB / 1.217 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.286, allocations: 322.8 kB / 1.217 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003247/1.286, allocations: 139.9 kB / 1.217 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/1.287, allocations: 191.1 kB / 1.217 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/1.287, allocations: 299 kB / 1.218 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.287, allocations: 4 kB / 1.218 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009047/1.288, allocations: 0.5164 MB / 1.218 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.288, allocations: 101.4 kB / 1.218 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.288, allocations: 0 / 1.218 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.288, allocations: 4 kB / 1.218 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/1.289, allocations: 23.91 kB / 1.218 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.289, allocations: 4 kB / 1.218 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/1.289, allocations: 60.05 kB / 1.218 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.58e-05/1.289, allocations: 59.97 kB / 1.218 GB, free: 2.449 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.0003057/1.289, allocations: 220.2 kB / 1.219 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/1.29, allocations: 39.52 kB / 1.219 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.423e-05/1.29, allocations: 43.8 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.29, allocations: 4 kB / 1.219 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.29, allocations: 3.938 kB / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.29, allocations: 0 / 1.219 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/1.292, allocations: 0.7858 MB / 1.219 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.292, allocations: 4 kB / 1.219 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/1.292, allocations: 15.86 kB / 1.219 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.292, allocations: 4 kB / 1.219 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/1.292, allocations: 19.98 kB / 1.219 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.292, allocations: 7.938 kB / 1.219 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.292, allocations: 0 / 1.219 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/1.294, allocations: 475.3 kB / 1.22 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/1.294, allocations: 244.4 kB / 1.22 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/1.295, allocations: 20 kB / 1.22 GB, free: 496 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/1.295, allocations: 31.91 kB / 1.22 GB, free: 464 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/1.295, allocations: 15.97 kB / 1.22 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/1.295, allocations: 59.97 kB / 1.22 GB, free: 388 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004947/1.296, allocations: 319.1 kB / 1.221 GB, free: 72 kB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/1.296, allocations: 0 / 1.221 GB, free: 72 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004179/1.296, allocations: 71.89 kB / 1.221 GB, free: 0 / 0.9356 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.0002287/1.296, allocations: 123.8 kB / 1.221 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001402/1.298, allocations: 476.5 kB / 1.221 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.298, allocations: 4 kB / 1.221 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008112/1.299, allocations: 119.9 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/1.299, allocations: 33.91 kB / 1.221 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/1.301, allocations: 0.5982 MB / 1.222 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/1.301, allocations: 0.7865 MB / 1.223 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.546e-05/1.301, allocations: 25.19 kB / 1.223 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/1.301, allocations: 15.44 kB / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/1.301, allocations: 0 / 1.223 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.01046/1.312, allocations: 5.42 MB / 1.228 GB, free: 8.238 MB / 0.9512 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