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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001165/0.001165, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001219/0.00122, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 64.12 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7838, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002577/0.7864, allocations: 1.516 MB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7876, allocations: 0.55 MB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.591e-05/0.7877, allocations: 0 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.83e-05/0.7878, allocations: 11.86 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.7879, allocations: 23.86 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.7888, allocations: 311.1 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.7894, allocations: 0.5072 MB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.7894, allocations: 7.984 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.7898, allocations: 271.6 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.7902, allocations: 143.7 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.7903, allocations: 27.98 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.7904, allocations: 32 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.7905, allocations: 115.6 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.7907, allocations: 183.1 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.7911, allocations: 424.3 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7911, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7911, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.7911, allocations: 0 / 1.212 GB, free: 9.582 MB / 0.9356 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.001237/0.7924, allocations: 0.8625 MB / 1.213 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.7924, allocations: 12.03 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.7926, allocations: 56.45 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.7929, allocations: 306.3 kB / 1.214 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.793, allocations: 12.36 kB / 1.214 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.7931, allocations: 32.36 kB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.7941, allocations: 209.9 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7941, allocations: 3.938 kB / 1.214 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.7942, allocations: 3.984 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.7942, allocations: 8 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.795, allocations: 103.9 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.7955, allocations: 389.2 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.7966, allocations: 178.5 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/0.7975, allocations: 112.8 kB / 1.215 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.7975, allocations: 0 / 1.215 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.7985, allocations: 227.1 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.7985, allocations: 0 / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002778/0.8013, allocations: 491.8 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.8013, allocations: 59.39 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.8018, allocations: 413.9 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.8018, allocations: 37.7 kB / 1.216 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.8019, allocations: 93.44 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.802, allocations: 47.39 kB / 1.216 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.8022, allocations: 129.2 kB / 1.216 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.8023, allocations: 322.8 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.8026, allocations: 115.9 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.8028, allocations: 168.7 kB / 1.217 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.8032, allocations: 282.6 kB / 1.217 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8032, allocations: 4 kB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007989/0.804, allocations: 491 kB / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.162e-05/0.8042, allocations: 89.34 kB / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8042, allocations: 0 / 1.217 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.8042, allocations: 4 kB / 1.217 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.8044, allocations: 31.91 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.8044, allocations: 0 / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.8049, allocations: 63.98 kB / 1.218 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.805, allocations: 59.97 kB / 1.218 GB, free: 3.926 MB / 0.9356 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.0002217/0.8052, allocations: 196 kB / 1.218 GB, free: 3.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.8053, allocations: 47.45 kB / 1.218 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.8053, allocations: 35.75 kB / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.8054, allocations: 0 / 1.218 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8054, allocations: 7.938 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8054, allocations: 4 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.8077, allocations: 0.7404 MB / 1.219 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8077, allocations: 0 / 1.219 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.8077, allocations: 8 kB / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8077, allocations: 0 / 1.219 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/0.8078, allocations: 23.97 kB / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.8078, allocations: 4 kB / 1.219 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8078, allocations: 0 / 1.219 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.8097, allocations: 475.2 kB / 1.219 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.8099, allocations: 196.5 kB / 1.219 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.81, allocations: 8 kB / 1.219 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000524/0.8105, allocations: 31.97 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.8106, allocations: 11.98 kB / 1.219 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.8107, allocations: 63.97 kB / 1.219 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002832/0.8109, allocations: 303 kB / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.811, allocations: 0 / 1.22 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003624/0.8113, allocations: 63.98 kB / 1.22 GB, free: 1.637 MB / 0.9356 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.0001472/0.8115, allocations: 115.2 kB / 1.22 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.8128, allocations: 444.7 kB / 1.22 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8129, allocations: 0 / 1.22 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008441/0.8137, allocations: 119.9 kB / 1.22 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.8141, allocations: 33.41 kB / 1.22 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.8156, allocations: 0.5888 MB / 1.221 GB, free: 292 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.816, allocations: 0.7784 MB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.8161, allocations: 15.42 kB / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of SimCode: time 3e-07/0.8161, allocations: 0 / 1.222 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.005817/0.8219, allocations: 3.67 MB / 1.225 GB, free: 11.74 MB / 0.9512 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