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.0009992/0.0009992, allocations: 108 kB / 15.6 MB, free: 132 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.001001/0.001001, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.512/1.512, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.613/2.613, allocations: 390.2 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8987/0.9002, allocations: 140.4 MB / 0.9496 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002827/0.903, allocations: 1.523 MB / 0.9511 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.9044, allocations: 0.5401 MB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.9045, allocations: 0 / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.9046, allocations: 9.594 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.9047, allocations: 27.02 kB / 0.9516 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008272/0.9056, allocations: 315.1 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006/0.9062, allocations: 0.4978 MB / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.851e-05/0.9062, allocations: 13.33 kB / 0.9524 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.9066, allocations: 273.2 kB / 0.9527 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.9069, allocations: 131.8 kB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.907, allocations: 27.19 kB / 0.9528 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.9071, allocations: 26.94 kB / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.9073, allocations: 119.4 kB / 0.953 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.9075, allocations: 183.9 kB / 0.9531 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.908, allocations: 427.4 kB / 0.9536 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.908, allocations: 1.281 kB / 0.9536 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.274e-06/0.908, allocations: 0 / 0.9536 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.908, allocations: 3.984 kB / 0.9536 GB, free: 6.199 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.001211/0.9092, allocations: 0.8644 MB / 0.9544 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9093, allocations: 14.64 kB / 0.9544 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.9094, allocations: 52.81 kB / 0.9545 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.9098, allocations: 304.3 kB / 0.9548 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/0.9098, allocations: 19.03 kB / 0.9548 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.9099, allocations: 31.11 kB / 0.9548 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/0.9109, allocations: 210.1 kB / 0.955 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.911, allocations: 192 / 0.955 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.911, allocations: 9.141 kB / 0.955 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.911, allocations: 5.031 kB / 0.955 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007838/0.9118, allocations: 103.5 kB / 0.9551 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.9122, allocations: 392.7 kB / 0.9555 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.9133, allocations: 181.5 kB / 0.9557 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.9141, allocations: 107.3 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.9141, allocations: 1.844 kB / 0.9558 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.9151, allocations: 223.5 kB / 0.956 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.9151, allocations: 0 / 0.956 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002786/0.9179, allocations: 492.6 kB / 0.9565 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.918, allocations: 63.17 kB / 0.9565 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.9186, allocations: 414.2 kB / 0.9569 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.9187, allocations: 41.41 kB / 0.9569 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.9187, allocations: 88.14 kB / 0.957 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.9188, allocations: 45.38 kB / 0.9571 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.919, allocations: 132.7 kB / 0.9572 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.9191, allocations: 321.1 kB / 0.9575 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.9194, allocations: 121.3 kB / 0.9576 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.9197, allocations: 166.6 kB / 0.9578 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.9201, allocations: 286.9 kB / 0.9581 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9201, allocations: 0.75 kB / 0.9581 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008698/0.921, allocations: 493.3 kB / 0.9585 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.587e-05/0.921, allocations: 92.56 kB / 0.9586 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.9211, allocations: 1.156 kB / 0.9586 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.9211, allocations: 7.25 kB / 0.9586 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.9213, allocations: 22.39 kB / 0.9586 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.9213, allocations: 6.172 kB / 0.9587 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.9218, allocations: 63.3 kB / 0.9587 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.9219, allocations: 60.45 kB / 0.9588 GB, free: 2.398 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.0002329/0.9222, allocations: 190.2 kB / 0.959 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.081e-05/0.9222, allocations: 44.8 kB / 0.959 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.9223, allocations: 39.97 kB / 0.959 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.9223, allocations: 1.344 kB / 0.959 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.9223, allocations: 1.156 kB / 0.959 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9224, allocations: 4 kB / 0.959 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.9247, allocations: 0.7451 MB / 0.9598 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9247, allocations: 0 / 0.9598 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.9247, allocations: 7.531 kB / 0.9598 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.9247, allocations: 0.8438 kB / 0.9598 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/0.9248, allocations: 30.03 kB / 0.9598 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9248, allocations: 0 / 0.9598 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9248, allocations: 3.938 kB / 0.9598 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.9265, allocations: 479.7 kB / 0.9603 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.9267, allocations: 200.6 kB / 0.9605 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.9268, allocations: 8.438 kB / 0.9605 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.9273, allocations: 27.66 kB / 0.9605 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.9273, allocations: 13.61 kB / 0.9605 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.376e-05/0.9274, allocations: 60.28 kB / 0.9606 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003083/0.9277, allocations: 294.4 kB / 0.9608 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9277, allocations: 0 / 0.9608 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004113/0.9281, allocations: 65.83 kB / 0.9609 GB, free: 0.9805 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.0001477/0.9283, allocations: 124.6 kB / 0.961 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.9296, allocations: 449.8 kB / 0.9615 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.9297, allocations: 0 / 0.9615 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.9305, allocations: 118.1 kB / 0.9616 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.9308, allocations: 33.41 kB / 0.9616 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.9325, allocations: 0.5427 MB / 0.9621 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.9329, allocations: 0.7822 MB / 0.9629 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.095e-05/0.933, allocations: 12.77 kB / 0.9629 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.9331, allocations: 14.62 kB / 0.9629 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.9331, allocations: 4 kB / 0.9629 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of Templates: time 0.01097/0.944, allocations: 4.966 MB / 0.9678 GB, free: 12.71 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches