Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001337/0.001337, allocations: 115.5 kB / 16.42 MB, free: 6.031 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.001313/0.001313, allocations: 186.2 kB / 17.35 MB, free: 5.633 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.2 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9714/0.9729, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003307/0.9762, allocations: 1.517 MB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001661/0.9779, allocations: 0.5571 MB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.978, allocations: 1 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.9781, allocations: 9.656 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.9783, allocations: 23.06 kB / 1.091 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.9793, allocations: 310.5 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.9801, allocations: 0.5051 MB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.3e-05/0.9802, allocations: 6.562 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.9807, allocations: 268.9 kB / 1.092 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.9811, allocations: 144.5 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.9812, allocations: 26.5 kB / 1.092 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.9813, allocations: 30.72 kB / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.9816, allocations: 114.1 kB / 1.092 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.9818, allocations: 186.5 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.9825, allocations: 427.2 kB / 1.093 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.9826, allocations: 0 / 1.093 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9826, allocations: 0 / 1.093 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.9826, allocations: 0.7188 kB / 1.093 GB, free: 3.293 MB / 0.8575 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.001506/0.9841, allocations: 0.8612 MB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.9842, allocations: 8.625 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.9843, allocations: 51.08 kB / 1.093 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004986/0.9848, allocations: 309.4 kB / 1.094 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.587e-05/0.9849, allocations: 21.31 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.985, allocations: 25.66 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.9862, allocations: 212.3 kB / 1.094 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.9863, allocations: 4.125 kB / 1.094 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.9863, allocations: 10.59 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.9863, allocations: 5.188 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.9872, allocations: 97.08 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.9878, allocations: 391.7 kB / 1.095 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.9889, allocations: 181.6 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.9898, allocations: 109.1 kB / 1.095 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.9898, allocations: 1.562 kB / 1.095 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.9909, allocations: 228.4 kB / 1.095 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.9909, allocations: 0 / 1.095 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002852/0.9938, allocations: 493.8 kB / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.9938, allocations: 56.69 kB / 1.096 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.9944, allocations: 412 kB / 1.096 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.9944, allocations: 39.19 kB / 1.096 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.9945, allocations: 99.23 kB / 1.096 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.431e-05/0.9946, allocations: 40.3 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.9948, allocations: 123.8 kB / 1.096 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.9949, allocations: 325.4 kB / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.9952, allocations: 116.4 kB / 1.097 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.9955, allocations: 178.2 kB / 1.097 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.9959, allocations: 277.5 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9959, allocations: 1.094 kB / 1.097 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008986/0.9968, allocations: 498.3 kB / 1.098 GB, free: 296 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-05/0.9969, allocations: 88.47 kB / 1.098 GB, free: 220 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.9969, allocations: 10.03 kB / 1.098 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.9969, allocations: 2.312 kB / 1.098 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.9971, allocations: 19.5 kB / 1.098 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.9971, allocations: 8.172 kB / 1.098 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.9976, allocations: 61.95 kB / 1.098 GB, free: 192 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.9978, allocations: 57.64 kB / 1.098 GB, free: 192 kB / 0.8575 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.0002416/0.998, allocations: 197.8 kB / 1.098 GB, free: 44 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.9981, allocations: 37.17 kB / 1.098 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.9982, allocations: 42.33 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.9982, allocations: 0.5156 kB / 1.098 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9982, allocations: 5.672 kB / 1.098 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.9986, allocations: 199.3 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.9987, allocations: 10.75 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.9992, allocations: 32.64 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.9992, allocations: 8.328 kB / 1.098 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001937/1.001, allocations: 425.3 kB / 1.099 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002006/1.003, allocations: 0.5454 MB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008387/1.004, allocations: 115.1 kB / 1.099 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004018/1.004, allocations: 301.7 kB / 1.1 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of Backend: time 2.71e-07/1.004, allocations: 0 / 1.1 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009757/1.005, allocations: 415.9 kB / 1.1 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001183/1.007, allocations: 0.9268 MB / 1.101 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of Templates: time 0.01201/1.019, allocations: 5.039 MB / 1.106 GB, free: 13.39 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches