Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009224, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006129/0.006129, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.376/1.376, allocations: 223.2 MB / 240.3 MB, free: 5.352 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.61/2.61, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 0.8728 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6295/0.6299, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001623/0.6316, allocations: 1.239 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.6329, allocations: 0.5775 MB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.6329, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.748e-05/0.633, allocations: 3.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.6331, allocations: 27.91 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.6338, allocations: 287.5 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004126/0.6343, allocations: 451.4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.56e-05/0.6343, allocations: 4 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.6347, allocations: 303 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.635, allocations: 163.2 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.6351, allocations: 16 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.6351, allocations: 16 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.6353, allocations: 115.6 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.6355, allocations: 212.5 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.6359, allocations: 408.4 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6359, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6359, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.6359, allocations: 0 / 1.027 GB, free: 12.1 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001037/0.637, allocations: 0.7615 MB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.637, allocations: 8.031 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.6371, allocations: 48.47 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.6375, allocations: 310.2 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.6375, allocations: 20.36 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/0.6376, allocations: 28.36 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.6386, allocations: 222 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.6386, allocations: 192 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.6387, allocations: 3.938 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6387, allocations: 4 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.6395, allocations: 123.1 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.64, allocations: 389.2 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.6411, allocations: 190.5 kB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.6419, allocations: 120.8 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.642, allocations: 3.984 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.643, allocations: 231.1 kB / 1.029 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.643, allocations: 3.938 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.00274/0.6458, allocations: 0.5224 MB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.6458, allocations: 59.39 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.6462, allocations: 413.8 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/0.6463, allocations: 41.69 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.6464, allocations: 93.44 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.6464, allocations: 35.55 kB / 1.03 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.918e-05/0.6465, allocations: 41.7 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.6466, allocations: 322.8 kB / 1.031 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.6469, allocations: 119.9 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.6472, allocations: 175.4 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.6476, allocations: 279.1 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6476, allocations: 0 / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008416/0.6484, allocations: 490.2 kB / 1.032 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.149e-05/0.6485, allocations: 91.31 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.6486, allocations: 7.922 kB / 1.032 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6486, allocations: 4 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.6488, allocations: 23.98 kB / 1.032 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6488, allocations: 4 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.6493, allocations: 75.77 kB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.6494, allocations: 63.97 kB / 1.032 GB, free: 6.52 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002243/0.6496, allocations: 192.5 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.6497, allocations: 39.47 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.6498, allocations: 43.73 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6498, allocations: 0 / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.6498, allocations: 8 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6498, allocations: 0 / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.652, allocations: 0.7636 MB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.652, allocations: 0 / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.6521, allocations: 7.984 kB / 1.033 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6521, allocations: 0 / 1.033 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.6521, allocations: 15.98 kB / 1.033 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6521, allocations: 11.94 kB / 1.033 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6521, allocations: 0 / 1.033 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.654, allocations: 496.7 kB / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.6542, allocations: 200.5 kB / 1.034 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.6543, allocations: 11.98 kB / 1.034 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.6548, allocations: 39.97 kB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.6549, allocations: 7.984 kB / 1.034 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/0.655, allocations: 55.98 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003132/0.6553, allocations: 303 kB / 1.034 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6553, allocations: 0 / 1.034 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003801/0.6557, allocations: 63.98 kB / 1.034 GB, free: 4.188 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001899/0.6559, allocations: 123.9 kB / 1.034 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.6572, allocations: 454.4 kB / 1.035 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6572, allocations: 4.375 kB / 1.035 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000825/0.6581, allocations: 135.8 kB / 1.035 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.6585, allocations: 31.03 kB / 1.035 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.6601, allocations: 0.6795 MB / 1.035 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.6604, allocations: 0.7711 MB / 1.036 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.355e-05/0.6605, allocations: 17.08 kB / 1.036 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.6605, allocations: 11.44 kB / 1.036 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.6605, allocations: 0 / 1.036 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of Templates: time 0.008913/0.6695, allocations: 4.939 MB / 1.041 GB, free: 12.86 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches