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.001743/0.001743, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001716/0.001716, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.492/2.492, allocations: 390.2 MB / 0.6643 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7722, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002922/0.7752, allocations: 1.584 MB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.7766, allocations: 0.5371 MB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.6e-05/0.7767, allocations: 0 / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.7768, allocations: 5.531 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.777, allocations: 26.88 kB / 0.9512 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.7778, allocations: 282.7 kB / 0.9515 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.7784, allocations: 0.5114 MB / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.7784, allocations: 8.859 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004604/0.7789, allocations: 334.2 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002622/0.7792, allocations: 162.7 kB / 0.9524 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.139e-05/0.7793, allocations: 27.03 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.7793, allocations: 27.62 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.7795, allocations: 130.8 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.7797, allocations: 191.1 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.7802, allocations: 428.5 kB / 0.9532 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.7802, allocations: 5.328 kB / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7802, allocations: 0 / 0.9532 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.7802, allocations: 0 / 0.9532 GB, free: 6.207 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.001177/0.7814, allocations: 0.863 MB / 0.954 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7814, allocations: 13.55 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.7816, allocations: 51.19 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.782, allocations: 317.6 kB / 0.9544 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.782, allocations: 18.53 kB / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.7821, allocations: 26.86 kB / 0.9545 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7832, allocations: 214.1 kB / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.7832, allocations: 192 / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.7832, allocations: 9.062 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.7833, allocations: 1.188 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.7841, allocations: 103.5 kB / 0.9548 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.7847, allocations: 391.7 kB / 0.9551 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.7858, allocations: 181.9 kB / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008174/0.7866, allocations: 107.2 kB / 0.9554 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.7866, allocations: 1.906 kB / 0.9554 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.7877, allocations: 223.1 kB / 0.9556 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.285e-06/0.7877, allocations: 0 / 0.9556 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002701/0.7904, allocations: 492.1 kB / 0.9561 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.7905, allocations: 60.89 kB / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.7909, allocations: 414 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.95e-05/0.791, allocations: 40.5 kB / 0.9566 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.7911, allocations: 93.17 kB / 0.9567 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.7911, allocations: 49.5 kB / 0.9567 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.7914, allocations: 126.9 kB / 0.9569 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.7915, allocations: 325.6 kB / 0.9572 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.7917, allocations: 122.4 kB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.7921, allocations: 166.4 kB / 0.9574 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.7925, allocations: 283.4 kB / 0.9577 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7925, allocations: 0 / 0.9577 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009996/0.7935, allocations: 493.9 kB / 0.9582 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-05/0.7936, allocations: 93.75 kB / 0.9583 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.7936, allocations: 1.781 kB / 0.9583 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.7936, allocations: 2.188 kB / 0.9583 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.7938, allocations: 22.8 kB / 0.9583 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7938, allocations: 6.266 kB / 0.9583 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.7944, allocations: 67.17 kB / 0.9584 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.7946, allocations: 60.17 kB / 0.9584 GB, free: 2.402 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.0002904/0.7949, allocations: 191.1 kB / 0.9586 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.7949, allocations: 43.58 kB / 0.9586 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.921e-05/0.795, allocations: 44.59 kB / 0.9587 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.7951, allocations: 2.156 kB / 0.9587 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7951, allocations: 0 / 0.9587 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.7951, allocations: 4 kB / 0.9587 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.7975, allocations: 0.7518 MB / 0.9594 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7975, allocations: 0 / 0.9594 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.7976, allocations: 12.25 kB / 0.9594 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.7976, allocations: 1.094 kB / 0.9594 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.7976, allocations: 19.34 kB / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.7976, allocations: 1.281 kB / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7976, allocations: 0 / 0.9595 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.7995, allocations: 483.2 kB / 0.9599 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.7997, allocations: 200.2 kB / 0.9601 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.7998, allocations: 9.094 kB / 0.9601 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.8003, allocations: 31.16 kB / 0.9602 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.8004, allocations: 8.828 kB / 0.9602 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/0.8005, allocations: 57.09 kB / 0.9602 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000339/0.8008, allocations: 298.9 kB / 0.9605 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8008, allocations: 0 / 0.9605 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007311/0.8016, allocations: 70.27 kB / 0.9606 GB, free: 0.9844 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.0001885/0.8018, allocations: 110.7 kB / 0.9607 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.8032, allocations: 449.1 kB / 0.9611 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8032, allocations: 1.094 kB / 0.9611 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/0.804, allocations: 124.3 kB / 0.9612 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.8044, allocations: 29.89 kB / 0.9612 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.806, allocations: 0.6613 MB / 0.9619 GB, free: 96 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.8064, allocations: 0.7822 MB / 0.9627 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.901e-05/0.8065, allocations: 11.61 kB / 0.9627 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.8066, allocations: 18.53 kB / 0.9627 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.8066, allocations: 0 / 0.9627 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of Templates: time 0.01257/0.8192, allocations: 5.115 MB / 0.9677 GB, free: 12.5 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