Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001476/0.001476, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 196 kB / 16.79 MB, free: 6.809 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.407/1.407, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 72.39 kB / 0.899 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2602, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002758/0.263, allocations: 1.58 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2643, allocations: 0.5907 MB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.2644, allocations: 0 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.102e-05/0.2645, allocations: 3.938 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.2647, allocations: 23.92 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.2654, allocations: 282.7 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.2658, allocations: 455.3 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.2659, allocations: 4 kB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.2663, allocations: 311 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.2666, allocations: 167.1 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.932e-05/0.2667, allocations: 16 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.2668, allocations: 15.94 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.267, allocations: 111.6 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.2672, allocations: 182.8 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.2675, allocations: 315.7 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2675, allocations: 4 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2675, allocations: 0 / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2675, allocations: 0 / 1.057 GB, free: 4.281 MB / 0.8106 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.001279/0.2688, allocations: 0.8665 MB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2689, allocations: 11.97 kB / 1.058 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.269, allocations: 52.47 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2693, allocations: 318.1 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.2694, allocations: 16.36 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.2695, allocations: 28.36 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2706, allocations: 213.9 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.2706, allocations: 192 / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.2706, allocations: 11.92 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2706, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.2714, allocations: 99.91 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.2718, allocations: 385.3 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.2729, allocations: 178.5 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/0.2736, allocations: 108.8 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2737, allocations: 8 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009449/0.2746, allocations: 225.6 kB / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.2747, allocations: 0 / 1.059 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.002575/0.2772, allocations: 484.9 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2773, allocations: 59.41 kB / 1.06 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.2777, allocations: 421.8 kB / 1.06 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.2778, allocations: 37.7 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.2778, allocations: 93.44 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.2779, allocations: 39.48 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.2781, allocations: 129.3 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.2782, allocations: 326.8 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.2785, allocations: 123.9 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.2788, allocations: 173.9 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.2792, allocations: 274.5 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2792, allocations: 0 / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008944/0.2801, allocations: 498 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-05/0.2802, allocations: 91.31 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2802, allocations: 3.984 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2802, allocations: 4 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.2804, allocations: 23.92 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2804, allocations: 4.188 kB / 1.062 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.281, allocations: 67.73 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/0.2811, allocations: 63.97 kB / 1.062 GB, free: 14.59 MB / 0.8262 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.0002457/0.2813, allocations: 192 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.797e-05/0.2814, allocations: 39.47 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.029e-05/0.2815, allocations: 43.75 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2815, allocations: 11.92 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.2815, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2815, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.2838, allocations: 0.7458 MB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.2838, allocations: 4 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.2838, allocations: 3.984 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2838, allocations: 4 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.2839, allocations: 19.97 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2839, allocations: 0 / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2839, allocations: 0 / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.2858, allocations: 474.8 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.286, allocations: 196.5 kB / 1.064 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.074e-05/0.2861, allocations: 15.98 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.2866, allocations: 31.97 kB / 1.064 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.2866, allocations: 15.92 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.2867, allocations: 51.98 kB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002742/0.287, allocations: 295.1 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.287, allocations: 0 / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000357/0.2873, allocations: 67.98 kB / 1.064 GB, free: 12.32 MB / 0.8262 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.0001441/0.2875, allocations: 115.2 kB / 1.064 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.2888, allocations: 445.3 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2888, allocations: 0 / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007961/0.2896, allocations: 116.3 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.29, allocations: 34.23 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.2916, allocations: 0.7147 MB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.292, allocations: 0.771 MB / 1.066 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.292, allocations: 15.42 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.292, allocations: 4 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of Templates: time 0.006102/0.2981, allocations: 3.669 MB / 1.07 GB, free: 6.309 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time