Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001799/0.001799, allocations: 107.4 kB / 16.41 MB, free: 6.5 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.00239/0.00239, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 67.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8681, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003284/0.8714, allocations: 1.74 MB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.8729, allocations: 0.6168 MB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.8731, allocations: 4 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.8732, allocations: 7.875 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.8734, allocations: 39.56 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.8744, allocations: 369.4 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008139/0.8752, allocations: 0.6321 MB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.8754, allocations: 29.11 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000514/0.8759, allocations: 315.5 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003953/0.8763, allocations: 156.7 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.8764, allocations: 40 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.209e-05/0.8765, allocations: 40 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.8767, allocations: 123.7 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.8769, allocations: 219 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.8776, allocations: 0.5936 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8776, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8776, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.8776, allocations: 7.938 kB / 1.172 GB, free: 14.9 MB / 0.9044 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.001514/0.8791, allocations: 0.9053 MB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.8792, allocations: 12.88 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.8794, allocations: 52.47 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.8799, allocations: 334.1 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.8799, allocations: 20.36 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.88, allocations: 32.36 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.8811, allocations: 240.2 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.8811, allocations: 4.125 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.8812, allocations: 3.938 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8812, allocations: 4 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008457/0.882, allocations: 115.9 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.8835, allocations: 0.672 MB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.8846, allocations: 186.4 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/0.8854, allocations: 117 kB / 1.175 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.4e-05/0.8855, allocations: 8 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.8866, allocations: 239 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 3.476e-06/0.8866, allocations: 0 / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002761/0.8894, allocations: 495.1 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.8895, allocations: 59.41 kB / 1.176 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.8901, allocations: 445.9 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.8902, allocations: 37.7 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.8903, allocations: 101.3 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.8904, allocations: 39.53 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.8907, allocations: 145.2 kB / 1.176 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.8909, allocations: 326.8 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.8912, allocations: 139.9 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.8915, allocations: 197.9 kB / 1.177 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.892, allocations: 295.5 kB / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.892, allocations: 0 / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009214/0.8929, allocations: 0.5243 MB / 1.178 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.893, allocations: 95.36 kB / 1.178 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8931, allocations: 4 kB / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.8931, allocations: 0 / 1.178 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.8933, allocations: 23.98 kB / 1.178 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.8933, allocations: 7.938 kB / 1.178 GB, free: 8.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.8938, allocations: 47.86 kB / 1.178 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.041e-05/0.8939, allocations: 68 kB / 1.178 GB, free: 8.637 MB / 0.9044 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.0003093/0.8942, allocations: 224.2 kB / 1.178 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.8943, allocations: 35.53 kB / 1.178 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.8944, allocations: 39.8 kB / 1.178 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.8944, allocations: 7.984 kB / 1.178 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8944, allocations: 11.88 kB / 1.178 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8945, allocations: 0 / 1.178 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.8968, allocations: 0.7873 MB / 1.179 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.8969, allocations: 3.984 kB / 1.179 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.8969, allocations: 7.938 kB / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8969, allocations: 0 / 1.179 GB, free: 7.461 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.897, allocations: 19.97 kB / 1.179 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.897, allocations: 7.938 kB / 1.179 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.897, allocations: 0 / 1.179 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.8989, allocations: 482.4 kB / 1.179 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/0.8993, allocations: 240.4 kB / 1.18 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.8994, allocations: 19.98 kB / 1.18 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.8999, allocations: 35.91 kB / 1.18 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.8999, allocations: 7.984 kB / 1.18 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.136e-05/0.9, allocations: 55.98 kB / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003799/0.9004, allocations: 319.1 kB / 1.18 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9004, allocations: 0 / 1.18 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004751/0.9009, allocations: 79.89 kB / 1.18 GB, free: 6.191 MB / 0.9044 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.0002228/0.9011, allocations: 123.2 kB / 1.18 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001472/0.9026, allocations: 470.5 kB / 1.181 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9026, allocations: 4.312 kB / 1.181 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008239/0.9034, allocations: 119.9 kB / 1.181 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.9039, allocations: 38.97 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.9056, allocations: 0.6389 MB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.906, allocations: 0.7864 MB / 1.182 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.9061, allocations: 23.38 kB / 1.182 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.9061, allocations: 3.938 kB / 1.182 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of Templates: time 0.007068/0.9132, allocations: 4.095 MB / 1.186 GB, free: 15.77 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches