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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 213.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.278/3.278, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.91 kB / 1.187 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002904/0.3329, allocations: 1.532 MB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3342, allocations: 0.5286 MB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.3343, allocations: 3.938 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.777e-05/0.3344, allocations: 3.938 kB / 1.367 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.3345, allocations: 39.56 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008618/0.3353, allocations: 315.4 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.3359, allocations: 479.5 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.975e-05/0.3359, allocations: 11.92 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003977/0.3363, allocations: 275.7 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.3366, allocations: 131.6 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3367, allocations: 28 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3368, allocations: 31.94 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.337, allocations: 119.7 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.3372, allocations: 159.2 kB / 1.368 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005319/0.3377, allocations: 434.4 kB / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3377, allocations: 0 / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3377, allocations: 0 / 1.369 GB, free: 9.535 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3377, allocations: 0 / 1.369 GB, free: 9.535 MB / 1.061 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.001253/0.339, allocations: 0.7873 MB / 1.369 GB, free: 8.676 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.339, allocations: 8.031 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.3391, allocations: 52.7 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.3396, allocations: 272.6 kB / 1.37 GB, free: 8.328 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.3396, allocations: 16.36 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.3397, allocations: 24.38 kB / 1.37 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.3406, allocations: 214 kB / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3406, allocations: 192 / 1.37 GB, free: 8.074 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3407, allocations: 7.922 kB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3407, allocations: 4 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.3414, allocations: 103.9 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.3418, allocations: 277.1 kB / 1.37 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.3428, allocations: 162.6 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/0.3435, allocations: 112.8 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3436, allocations: 4 kB / 1.371 GB, free: 7.375 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009164/0.3445, allocations: 215.2 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3445, allocations: 4 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002482/0.347, allocations: 499.4 kB / 1.371 GB, free: 6.656 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.347, allocations: 67.41 kB / 1.371 GB, free: 6.578 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/0.3475, allocations: 409.9 kB / 1.372 GB, free: 6.164 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.3475, allocations: 37.7 kB / 1.372 GB, free: 6.121 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.3476, allocations: 93.44 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.3477, allocations: 47.67 kB / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.3479, allocations: 121.5 kB / 1.372 GB, free: 5.855 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3481, allocations: 326.8 kB / 1.372 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.3484, allocations: 191.3 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003722/0.3488, allocations: 246.8 kB / 1.373 GB, free: 5.055 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.3492, allocations: 271.1 kB / 1.373 GB, free: 4.758 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3492, allocations: 4 kB / 1.373 GB, free: 4.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009375/0.3501, allocations: 0.5534 MB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.3502, allocations: 79.38 kB / 1.374 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3502, allocations: 192 / 1.374 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3502, allocations: 11.94 kB / 1.374 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.3504, allocations: 23.92 kB / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3504, allocations: 0 / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.3509, allocations: 67.72 kB / 1.374 GB, free: 3.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/0.351, allocations: 63.97 kB / 1.374 GB, free: 3.918 MB / 1.061 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.0002786/0.3513, allocations: 191.7 kB / 1.374 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.3514, allocations: 39.77 kB / 1.374 GB, free: 3.684 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.3514, allocations: 47.61 kB / 1.374 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3514, allocations: 0 / 1.374 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3514, allocations: 0 / 1.374 GB, free: 3.641 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3514, allocations: 4 kB / 1.374 GB, free: 3.637 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.3537, allocations: 0.6738 MB / 1.375 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3537, allocations: 3.938 kB / 1.375 GB, free: 2.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.3537, allocations: 8 kB / 1.375 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3537, allocations: 3.984 kB / 1.375 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.3537, allocations: 15.98 kB / 1.375 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.3537, allocations: 0 / 1.375 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3537, allocations: 0 / 1.375 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.3555, allocations: 491.4 kB / 1.375 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003173/0.3558, allocations: 141.5 kB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.3559, allocations: 12 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.3564, allocations: 27.97 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.3564, allocations: 11.97 kB / 1.375 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.3565, allocations: 55.98 kB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003298/0.3568, allocations: 299.1 kB / 1.376 GB, free: 1.855 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3568, allocations: 0 / 1.376 GB, free: 1.855 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003499/0.3572, allocations: 63.98 kB / 1.376 GB, free: 1.793 MB / 1.061 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.0001616/0.3573, allocations: 119.2 kB / 1.376 GB, free: 1.664 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.3587, allocations: 476.4 kB / 1.376 GB, free: 1.164 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3587, allocations: 3.938 kB / 1.376 GB, free: 1.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.3594, allocations: 107.9 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.3598, allocations: 44.8 kB / 1.376 GB, free: 1.016 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3613, allocations: 0.5849 MB / 1.377 GB, free: 408 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.3615, allocations: 167 kB / 1.377 GB, free: 220 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.3616, allocations: 19.42 kB / 1.377 GB, free: 200 kB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.3616, allocations: 0 / 1.377 GB, free: 200 kB / 1.061 GB Notification: Performance of Templates: time 0.006065/0.3677, allocations: 3.683 MB / 1.381 GB, free: 12.47 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 11.308057578280568]