Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001378/0.001378, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003942, allocations: 12 kB / 0.8708 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7742, allocations: 153.6 MB / 1.021 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001844/0.7761, allocations: 1.192 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008456/0.777, allocations: 387.1 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.7771, allocations: 0 / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.7771, allocations: 7.922 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.7772, allocations: 19.97 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.7779, allocations: 229 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.7782, allocations: 155.7 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.7783, allocations: 7.938 kB / 1.023 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.7786, allocations: 167.7 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.7788, allocations: 127.7 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.7789, allocations: 12 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.7789, allocations: 8 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.779, allocations: 79.78 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.097e-05/0.7791, allocations: 73.58 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.7794, allocations: 201.5 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.7794, allocations: 3.938 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7794, allocations: 0 / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.7794, allocations: 0 / 1.023 GB, free: 14.53 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.001032/0.7804, allocations: 0.6643 MB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.7805, allocations: 11.98 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.7806, allocations: 35.62 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.7809, allocations: 254.6 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.781, allocations: 15.95 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.7811, allocations: 16 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.7821, allocations: 214.2 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7821, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.99e-05/0.7822, allocations: 4 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7822, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.7829, allocations: 107.9 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.7833, allocations: 321.3 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.7844, allocations: 182.5 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.7844, allocations: 11.94 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.7854, allocations: 223.2 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.7855, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002667/0.7881, allocations: 479.7 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.7882, allocations: 71.38 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.7885, allocations: 286.9 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.7886, allocations: 41.69 kB / 1.026 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.7887, allocations: 93.08 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.7887, allocations: 39.55 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.7887, allocations: 4 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7889, allocations: 326.8 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.7891, allocations: 79.95 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.7893, allocations: 137.9 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.7895, allocations: 160.9 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7895, allocations: 3.953 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006421/0.7902, allocations: 384.7 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.65e-05/0.7903, allocations: 71.39 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.7903, allocations: 3.984 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7903, allocations: 7.938 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.7905, allocations: 32.05 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.7905, allocations: 4 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.791, allocations: 67.7 kB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.7911, allocations: 47.97 kB / 1.028 GB, free: 9.895 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 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.7913, allocations: 170.1 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.7913, allocations: 23.72 kB / 1.028 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/0.7914, allocations: 30.3 kB / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.7914, allocations: 0 / 1.028 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.7914, allocations: 11.88 kB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.7914, allocations: 0 / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.7936, allocations: 0.7051 MB / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7936, allocations: 0 / 1.029 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.7936, allocations: 7.984 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7937, allocations: 0 / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.7937, allocations: 19.94 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.7937, allocations: 4 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7937, allocations: 0 / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.7955, allocations: 473.2 kB / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.7957, allocations: 156.7 kB / 1.029 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.7958, allocations: 11.98 kB / 1.029 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.7963, allocations: 35.92 kB / 1.029 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.7963, allocations: 15.98 kB / 1.029 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.7964, allocations: 43.97 kB / 1.029 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001957/0.7966, allocations: 205.9 kB / 1.029 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7966, allocations: 0 / 1.029 GB, free: 7.906 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004295/0.797, allocations: 47.98 kB / 1.029 GB, free: 7.859 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000163/0.7972, allocations: 116 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.7984, allocations: 398.4 kB / 1.03 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.7984, allocations: 0 / 1.03 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.7992, allocations: 128.2 kB / 1.03 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.7995, allocations: 16.64 kB / 1.03 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.8009, allocations: 0.4949 MB / 1.031 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.8014, allocations: 0.7438 MB / 1.031 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.8014, allocations: 17.06 kB / 1.031 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.8015, allocations: 15.42 kB / 1.031 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of SimCode: time 5.71e-07/0.8015, allocations: 4 kB / 1.031 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of Templates: time 0.006858/0.8084, allocations: 3.496 MB / 1.035 GB, free: 2.387 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches