Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.CalendarTimeMonthsMinus,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.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_10_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.002145/0.002145, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00221/0.00221, allocations: 198.3 kB / 16.14 MB, free: 6.797 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.62/1.62, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.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.832/2.832, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 67.91 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8344, allocations: 151.6 MB / 1.017 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003908/0.8383, allocations: 1.798 MB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.8399, allocations: 0.6911 MB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.84, allocations: 3.938 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.8401, allocations: 3.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.8403, allocations: 31.8 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.8411, allocations: 335.4 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.8417, allocations: 0.5345 MB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.8419, allocations: 44.77 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.8424, allocations: 311.1 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.8428, allocations: 167.2 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.8429, allocations: 16 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.421e-05/0.843, allocations: 19.94 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.8432, allocations: 111.7 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003642/0.8436, allocations: 198.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009214/0.8445, allocations: 0.586 MB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.8446, allocations: 7.938 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8446, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.8446, allocations: 0 / 1.021 GB, free: 14.03 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.001873/0.8465, allocations: 0.9109 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.8465, allocations: 11.98 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.8467, allocations: 52.47 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.8473, allocations: 330.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.8473, allocations: 24.48 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.8474, allocations: 40.36 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.8486, allocations: 233.9 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.8486, allocations: 3.938 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.8486, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.8487, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.8495, allocations: 123.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.8512, allocations: 0.6681 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.8523, allocations: 194.4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/0.8532, allocations: 112.8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.8532, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.8544, allocations: 231.1 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.614e-06/0.8544, allocations: 0 / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002731/0.8571, allocations: 0.4917 MB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.8572, allocations: 63.39 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.8577, allocations: 441.8 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.8578, allocations: 45.7 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.8579, allocations: 101.3 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.858, allocations: 39.53 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.8582, allocations: 141.3 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8584, allocations: 326.8 kB / 1.026 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.8587, allocations: 139.9 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.859, allocations: 197.9 kB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.8595, allocations: 295.1 kB / 1.026 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8595, allocations: 4 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009482/0.8605, allocations: 0.5256 MB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.8606, allocations: 95.38 kB / 1.027 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.8606, allocations: 4 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.8606, allocations: 0 / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.8608, allocations: 23.92 kB / 1.027 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8608, allocations: 7.984 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005208/0.8614, allocations: 56.05 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.8615, allocations: 63.92 kB / 1.027 GB, free: 7.762 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 (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.000268/0.8617, allocations: 220.3 kB / 1.027 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.8618, allocations: 43.45 kB / 1.027 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.8619, allocations: 39.8 kB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.8619, allocations: 8 kB / 1.027 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.8619, allocations: 0 / 1.027 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8619, allocations: 0 / 1.027 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.8642, allocations: 0.7909 MB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8643, allocations: 0 / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.8643, allocations: 7.984 kB / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8643, allocations: 0 / 1.028 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.8644, allocations: 23.92 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.8644, allocations: 4 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8644, allocations: 4 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.8663, allocations: 478.8 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.8666, allocations: 252.3 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.666e-05/0.8667, allocations: 15.94 kB / 1.029 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005032/0.8672, allocations: 31.95 kB / 1.029 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.8673, allocations: 12 kB / 1.029 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.8673, allocations: 59.97 kB / 1.029 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003398/0.8677, allocations: 315.1 kB / 1.029 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8677, allocations: 0 / 1.029 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003787/0.8681, allocations: 71.98 kB / 1.029 GB, free: 5.312 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 (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.0001945/0.8683, allocations: 127.8 kB / 1.03 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001384/0.8697, allocations: 479.9 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8697, allocations: 0 / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.8705, allocations: 123.9 kB / 1.03 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.871, allocations: 47.81 kB / 1.03 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.8727, allocations: 0.7181 MB / 1.031 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.8731, allocations: 0.7828 MB / 1.032 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.074e-05/0.8732, allocations: 17.42 kB / 1.032 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.8733, allocations: 15.44 kB / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.8733, allocations: 0 / 1.032 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of Templates: time 0.01004/0.8833, allocations: 5.44 MB / 1.037 GB, free: 13.4 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches