Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007903/0.007903, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001994/0.001994, allocations: 191.3 kB / 16.67 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7453 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3167, allocations: 159.9 MB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002614/0.3194, allocations: 1.508 MB / 1.227 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3206, allocations: 0.5488 MB / 1.228 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.3207, allocations: 0 / 1.228 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3208, allocations: 11.86 kB / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.3209, allocations: 27.8 kB / 1.228 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.3216, allocations: 306.4 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000487/0.3221, allocations: 0.4995 MB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.3222, allocations: 11.98 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.3225, allocations: 275.6 kB / 1.229 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.3228, allocations: 143.6 kB / 1.229 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.925e-05/0.3229, allocations: 28 kB / 1.229 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.323, allocations: 24 kB / 1.229 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3231, allocations: 111.7 kB / 1.229 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.3233, allocations: 187 kB / 1.229 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.3237, allocations: 426.4 kB / 1.23 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3237, allocations: 11.94 kB / 1.23 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3237, allocations: 0 / 1.23 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3237, allocations: 0 / 1.23 GB, free: 5.109 MB / 0.9825 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.001154/0.3249, allocations: 0.8781 MB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3249, allocations: 8.031 kB / 1.23 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.325, allocations: 60.69 kB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3254, allocations: 306.6 kB / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.3254, allocations: 20.36 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.3255, allocations: 28.36 kB / 1.231 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009285/0.3264, allocations: 214 kB / 1.231 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3264, allocations: 4.188 kB / 1.231 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3265, allocations: 11.91 kB / 1.231 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3265, allocations: 0 / 1.231 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.3272, allocations: 99.92 kB / 1.231 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.3276, allocations: 393.2 kB / 1.232 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3286, allocations: 170.4 kB / 1.232 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.3294, allocations: 116.8 kB / 1.232 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3294, allocations: 4 kB / 1.232 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008917/0.3303, allocations: 227.1 kB / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.3303, allocations: 0 / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002404/0.3327, allocations: 492.9 kB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3328, allocations: 55.41 kB / 1.233 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.3331, allocations: 413.9 kB / 1.233 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.3332, allocations: 37.7 kB / 1.233 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.3333, allocations: 97.44 kB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.3333, allocations: 39.73 kB / 1.233 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.3335, allocations: 125.5 kB / 1.233 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3336, allocations: 330.8 kB / 1.234 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.3339, allocations: 115.9 kB / 1.234 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.3341, allocations: 170.8 kB / 1.234 GB, free: 492 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.3345, allocations: 282.9 kB / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3345, allocations: 0 / 1.234 GB, free: 176 kB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007697/0.3353, allocations: 491.6 kB / 1.235 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-05/0.3354, allocations: 99.5 kB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3354, allocations: 3.938 kB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3354, allocations: 4 kB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.3356, allocations: 23.91 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3356, allocations: 4 kB / 1.235 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004501/0.3361, allocations: 55.91 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.063e-05/0.3362, allocations: 59.98 kB / 1.235 GB, free: 15.42 MB / 0.9981 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.0001961/0.3364, allocations: 196.4 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.3364, allocations: 43.69 kB / 1.235 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.3365, allocations: 47.69 kB / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3365, allocations: 0 / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3365, allocations: 0 / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3365, allocations: 0 / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.3386, allocations: 0.7521 MB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3386, allocations: 0 / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.3386, allocations: 4 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3386, allocations: 0 / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.3387, allocations: 23.97 kB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3387, allocations: 4 kB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3387, allocations: 4 kB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3403, allocations: 479.4 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.3406, allocations: 216.6 kB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.3407, allocations: 8 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.3411, allocations: 31.95 kB / 1.237 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.3412, allocations: 8 kB / 1.237 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.257e-05/0.3412, allocations: 55.97 kB / 1.237 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002823/0.3415, allocations: 295.1 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3415, allocations: 0 / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003182/0.3419, allocations: 67.98 kB / 1.237 GB, free: 13.12 MB / 0.9981 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.0001419/0.342, allocations: 124.9 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.3432, allocations: 434.5 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3432, allocations: 0 / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000728/0.3439, allocations: 126.5 kB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3443, allocations: 35.19 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3457, allocations: 0.5549 MB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.346, allocations: 0.7746 MB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.876e-05/0.3461, allocations: 17.08 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.3462, allocations: 11.44 kB / 1.239 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of SimCode: time 2.91e-07/0.3462, allocations: 4 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of Templates: time 0.008438/0.3546, allocations: 4.934 MB / 1.244 GB, free: 5.93 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches