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.001031/0.001031, allocations: 92.55 kB / 16.02 MB, free: 80 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.00119/0.00119, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.266 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.523/2.523, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 8.281 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6904/0.6908, allocations: 142.4 MB / 0.9557 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001382/0.6922, allocations: 1.232 MB / 0.9569 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.6933, allocations: 0.5935 MB / 0.9575 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.6934, allocations: 0 / 0.9575 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.754e-05/0.6935, allocations: 4.906 kB / 0.9575 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.873e-05/0.6936, allocations: 18.89 kB / 0.9575 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.6942, allocations: 281.6 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004072/0.6946, allocations: 448.4 kB / 0.9582 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.6947, allocations: 12.33 kB / 0.9582 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003824/0.6951, allocations: 308.4 kB / 0.9585 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.6953, allocations: 162.7 kB / 0.9587 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/0.6954, allocations: 14.38 kB / 0.9587 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.6955, allocations: 12.56 kB / 0.9587 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.6956, allocations: 116 kB / 0.9588 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.6958, allocations: 205.2 kB / 0.959 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.6961, allocations: 314.1 kB / 0.9593 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6961, allocations: 0 / 0.9593 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.554e-06/0.6961, allocations: 3.938 kB / 0.9593 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.6961, allocations: 4 kB / 0.9593 GB, free: 5.285 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.0009097/0.697, allocations: 0.7473 MB / 0.96 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6971, allocations: 9.625 kB / 0.96 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.6972, allocations: 50.72 kB / 0.9601 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.6975, allocations: 305.2 kB / 0.9604 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.6975, allocations: 19.02 kB / 0.9604 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.633e-05/0.6976, allocations: 21.72 kB / 0.9604 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/0.6986, allocations: 232 kB / 0.9606 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.6986, allocations: 192 / 0.9606 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.6987, allocations: 9.906 kB / 0.9606 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6987, allocations: 4.906 kB / 0.9607 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007942/0.6995, allocations: 113.6 kB / 0.9608 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.6998, allocations: 399 kB / 0.9611 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.7009, allocations: 187.8 kB / 0.9613 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/0.7017, allocations: 124.6 kB / 0.9614 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.7018, allocations: 2.031 kB / 0.9614 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009126/0.7027, allocations: 238.9 kB / 0.9617 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.7027, allocations: 3.938 kB / 0.9617 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00259/0.7053, allocations: 0.5077 MB / 0.9622 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.7053, allocations: 60.55 kB / 0.9622 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/0.7057, allocations: 413.1 kB / 0.9626 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.7058, allocations: 46.16 kB / 0.9627 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.7058, allocations: 95.62 kB / 0.9628 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.7059, allocations: 37.45 kB / 0.9628 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.7059, allocations: 35.33 kB / 0.9628 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.167e-05/0.706, allocations: 322 kB / 0.9631 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.7063, allocations: 122.6 kB / 0.9632 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.7065, allocations: 177.2 kB / 0.9634 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.7069, allocations: 277.2 kB / 0.9637 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7069, allocations: 7.938 kB / 0.9637 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007573/0.7076, allocations: 491.4 kB / 0.9642 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.7077, allocations: 88.41 kB / 0.9642 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7077, allocations: 6.641 kB / 0.9643 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.7077, allocations: 3.562 kB / 0.9643 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.7079, allocations: 26.03 kB / 0.9643 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7079, allocations: 7.594 kB / 0.9643 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/0.7084, allocations: 71.52 kB / 0.9644 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/0.7085, allocations: 56.36 kB / 0.9644 GB, free: 1.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.0002/0.7087, allocations: 195 kB / 0.9646 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.7088, allocations: 48.38 kB / 0.9646 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.7089, allocations: 36.25 kB / 0.9647 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7089, allocations: 1 kB / 0.9647 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.7089, allocations: 1.031 kB / 0.9647 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7089, allocations: 3.984 kB / 0.9647 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/0.7111, allocations: 0.7635 MB / 0.9654 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.7111, allocations: 4 kB / 0.9654 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.7111, allocations: 12.27 kB / 0.9654 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7111, allocations: 0.9375 kB / 0.9654 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.7112, allocations: 23.62 kB / 0.9655 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7112, allocations: 1.156 kB / 0.9655 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7112, allocations: 0 / 0.9655 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.713, allocations: 0.489 MB / 0.9659 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.7132, allocations: 199.3 kB / 0.9661 GB, free: 376 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.7133, allocations: 13.59 kB / 0.9661 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.7138, allocations: 36.36 kB / 0.9662 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.7138, allocations: 8.391 kB / 0.9662 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.7139, allocations: 58.11 kB / 0.9662 GB, free: 344 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002732/0.7142, allocations: 293.9 kB / 0.9665 GB, free: 164 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7142, allocations: 7.938 kB / 0.9665 GB, free: 156 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003897/0.7146, allocations: 65.86 kB / 0.9666 GB, free: 148 kB / 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.0001219/0.7147, allocations: 118.5 kB / 0.9667 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.7161, allocations: 452.1 kB / 0.9671 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7161, allocations: 0.9688 kB / 0.9671 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000837/0.7169, allocations: 134.8 kB / 0.9673 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.7173, allocations: 33.97 kB / 0.9673 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.719, allocations: 0.7125 MB / 0.968 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.7194, allocations: 0.7789 MB / 0.9688 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.577e-05/0.7194, allocations: 13.66 kB / 0.9688 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7194, allocations: 0 / 0.9688 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of Templates: time 0.006455/0.7259, allocations: 3.666 MB / 0.9724 GB, free: 12.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