Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.CalendarTimeMonthsPlus,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.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_9_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.001404/0.001404, 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.001544/0.001544, allocations: 198.5 kB / 16.79 MB, free: 6.828 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5865, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002204/0.5887, allocations: 1.57 MB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.5898, allocations: 0.5977 MB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.5898, allocations: 4 kB / 0.9517 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.428e-05/0.5899, allocations: 3.938 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.899e-05/0.59, allocations: 20.3 kB / 0.9517 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.5906, allocations: 278.9 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.5909, allocations: 451.6 kB / 0.9524 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.5909, allocations: 9.578 kB / 0.9524 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.5912, allocations: 311.6 kB / 0.9527 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.5915, allocations: 162.4 kB / 0.9529 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.852e-05/0.5916, allocations: 13.5 kB / 0.9529 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.003e-05/0.5916, allocations: 15.09 kB / 0.9529 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.5918, allocations: 115.7 kB / 0.953 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001806/0.592, allocations: 179.2 kB / 0.9532 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.5922, allocations: 316.7 kB / 0.9535 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5922, allocations: 1.219 kB / 0.9535 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5922, allocations: 0 / 0.9535 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5922, allocations: 3.938 kB / 0.9535 GB, free: 6.371 MB / 0.7169 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.0009975/0.5932, allocations: 0.8713 MB / 0.9543 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5933, allocations: 9.375 kB / 0.9544 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.5934, allocations: 50.56 kB / 0.9544 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.5937, allocations: 301.8 kB / 0.9547 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.5937, allocations: 18.7 kB / 0.9547 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.5938, allocations: 30.8 kB / 0.9547 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5948, allocations: 217.7 kB / 0.9549 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5948, allocations: 4.125 kB / 0.955 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.5949, allocations: 4.625 kB / 0.955 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5949, allocations: 5.172 kB / 0.955 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.5957, allocations: 103.7 kB / 0.9551 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.5961, allocations: 396.6 kB / 0.9554 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5972, allocations: 180.7 kB / 0.9556 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000769/0.598, allocations: 116.6 kB / 0.9557 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.598, allocations: 3.562 kB / 0.9557 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009683/0.599, allocations: 212.7 kB / 0.9559 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.599, allocations: 3.938 kB / 0.9559 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002592/0.6016, allocations: 494 kB / 0.9564 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.6017, allocations: 60.72 kB / 0.9565 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.602, allocations: 416.7 kB / 0.9569 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.6021, allocations: 39.17 kB / 0.9569 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.6022, allocations: 91.12 kB / 0.957 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.6022, allocations: 41.59 kB / 0.957 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.6024, allocations: 127.7 kB / 0.9571 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.6025, allocations: 322 kB / 0.9575 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.6027, allocations: 121 kB / 0.9576 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.603, allocations: 179.5 kB / 0.9577 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.6033, allocations: 283.7 kB / 0.958 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6033, allocations: 1.375 kB / 0.958 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007756/0.6041, allocations: 489.6 kB / 0.9585 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.315e-05/0.6042, allocations: 98.23 kB / 0.9586 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6042, allocations: 1.031 kB / 0.9586 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6042, allocations: 3.469 kB / 0.9586 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.6044, allocations: 22.33 kB / 0.9586 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.6044, allocations: 6.688 kB / 0.9586 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.6049, allocations: 58.05 kB / 0.9587 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-05/0.605, allocations: 65.69 kB / 0.9587 GB, free: 2.566 MB / 0.7169 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.000193/0.6052, allocations: 194.2 kB / 0.9589 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.803e-05/0.6053, allocations: 39.78 kB / 0.9589 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.6054, allocations: 43.7 kB / 0.959 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6054, allocations: 10.06 kB / 0.959 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6054, allocations: 1.125 kB / 0.959 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6054, allocations: 0 / 0.959 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002075/0.6075, allocations: 0.7383 MB / 0.9597 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6075, allocations: 1.125 kB / 0.9597 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.6075, allocations: 11.08 kB / 0.9597 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6075, allocations: 0.9688 kB / 0.9597 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.6076, allocations: 19.42 kB / 0.9597 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.6076, allocations: 1.125 kB / 0.9597 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6076, allocations: 1.031 kB / 0.9597 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.6093, allocations: 481.4 kB / 0.9602 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.6095, allocations: 199.6 kB / 0.9604 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.6096, allocations: 17.92 kB / 0.9604 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/0.6101, allocations: 27.34 kB / 0.9604 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.6101, allocations: 7.922 kB / 0.9604 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/0.6102, allocations: 61.86 kB / 0.9605 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002556/0.6104, allocations: 294.2 kB / 0.9608 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6104, allocations: 0 / 0.9608 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003876/0.6108, allocations: 67.2 kB / 0.9609 GB, free: 1.156 MB / 0.7169 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.0001263/0.611, allocations: 123.1 kB / 0.961 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.6122, allocations: 436.6 kB / 0.9614 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6122, allocations: 0 / 0.9614 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.613, allocations: 127.5 kB / 0.9615 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.6133, allocations: 29.55 kB / 0.9615 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.6148, allocations: 0.7012 MB / 0.9622 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.6152, allocations: 0.7748 MB / 0.963 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.6152, allocations: 19.08 kB / 0.963 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.6152, allocations: 3.938 kB / 0.963 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of Templates: time 0.006228/0.6215, allocations: 3.671 MB / 0.9666 GB, free: 13.46 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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