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.001403/0.001403, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001585/0.001585, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9877/0.9877, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.45/2.45, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.105e-05/2.281e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003089/0.003112, allocations: 1.607 MB / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004793/0.007905, allocations: 0.5381 MB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.008014, allocations: 4 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.008141, allocations: 7.875 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.0083, allocations: 31.78 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.00934, allocations: 323.3 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007098/0.01005, allocations: 487.4 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.0101, allocations: 0 / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.01072, allocations: 359.6 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.01111, allocations: 137.2 kB / 0.842 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.01119, allocations: 32 kB / 0.842 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.51e-05/0.01126, allocations: 24 kB / 0.842 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.01139, allocations: 115.7 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.01155, allocations: 131.7 kB / 0.8423 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.01203, allocations: 382.8 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.01203, allocations: 0 / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.874e-06/0.01203, allocations: 3.938 kB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.01204, allocations: 0 / 0.8426 GB, free: 10.08 MB / 0.8073 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.00121/0.01325, allocations: 0.7389 MB / 0.8434 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.0133, allocations: 12.62 kB / 0.8434 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.01344, allocations: 48.88 kB / 0.8434 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.0138, allocations: 236 kB / 0.8436 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.01384, allocations: 12.38 kB / 0.8436 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.01392, allocations: 32.36 kB / 0.8437 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004692/0.01439, allocations: 178.7 kB / 0.8438 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.0144, allocations: 192 / 0.8438 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.01442, allocations: 8.375 kB / 0.8439 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.01443, allocations: 4.312 kB / 0.8439 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.01455, allocations: 43.91 kB / 0.8439 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.0148, allocations: 120.9 kB / 0.844 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.01503, allocations: 90.66 kB / 0.8441 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.01514, allocations: 52.83 kB / 0.8442 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.01517, allocations: 4 kB / 0.8442 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.01543, allocations: 155.2 kB / 0.8443 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.01543, allocations: 0 / 0.8443 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0004993/0.01593, allocations: 216.8 kB / 0.8445 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.01598, allocations: 59.39 kB / 0.8446 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.01628, allocations: 323.3 kB / 0.8449 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.01633, allocations: 41.69 kB / 0.8449 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.01641, allocations: 101.4 kB / 0.845 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.01646, allocations: 35.72 kB / 0.845 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.01665, allocations: 117.4 kB / 0.8452 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01677, allocations: 326.8 kB / 0.8455 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.01704, allocations: 151.3 kB / 0.8456 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.01729, allocations: 213.3 kB / 0.8458 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.01758, allocations: 247 kB / 0.8461 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.01758, allocations: 0 / 0.8461 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005694/0.01815, allocations: 432.2 kB / 0.8465 GB, free: 5.852 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-05/0.01823, allocations: 79.38 kB / 0.8465 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.01824, allocations: 4 kB / 0.8465 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.01826, allocations: 0 / 0.8465 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.01844, allocations: 39.91 kB / 0.8466 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.01845, allocations: 7.984 kB / 0.8466 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.01872, allocations: 47.86 kB / 0.8466 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.177e-05/0.0188, allocations: 51.92 kB / 0.8467 GB, free: 5.613 MB / 0.8073 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.00017/0.01897, allocations: 150.7 kB / 0.8468 GB, free: 5.453 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.01903, allocations: 27.97 kB / 0.8469 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.01909, allocations: 31.69 kB / 0.8469 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01909, allocations: 4 kB / 0.8469 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.0191, allocations: 0 / 0.8469 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.0191, allocations: 3.984 kB / 0.8469 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000645/0.01975, allocations: 374.7 kB / 0.8473 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01975, allocations: 0 / 0.8473 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.01979, allocations: 7.984 kB / 0.8473 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.0198, allocations: 4 kB / 0.8473 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.01983, allocations: 7.969 kB / 0.8473 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.01983, allocations: 4 kB / 0.8473 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01984, allocations: 0 / 0.8473 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.02042, allocations: 251.7 kB / 0.8475 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.02071, allocations: 107.6 kB / 0.8476 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.0208, allocations: 15.98 kB / 0.8476 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.02112, allocations: 35.97 kB / 0.8477 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.02116, allocations: 15.91 kB / 0.8477 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.0212, allocations: 43.98 kB / 0.8477 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001152/0.02131, allocations: 140.7 kB / 0.8479 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.02131, allocations: 0 / 0.8479 GB, free: 4.355 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000262/0.02157, allocations: 64 kB / 0.8479 GB, free: 4.293 MB / 0.8073 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.0001287/0.0217, allocations: 104.9 kB / 0.848 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.02217, allocations: 402.7 kB / 0.8484 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/0.02218, allocations: 8.312 kB / 0.8484 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.02227, allocations: 79.28 kB / 0.8485 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.02249, allocations: 37.61 kB / 0.8485 GB, free: 3.629 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.02327, allocations: 464.1 kB / 0.849 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.02332, allocations: 83.81 kB / 0.849 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.244e-05/0.02337, allocations: 13.14 kB / 0.8491 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.02355, allocations: 115.3 kB / 0.8492 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of SimCode: time 1.093e-06/0.02355, allocations: 0 / 0.8492 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.006972/0.03052, allocations: 5.326 MB / 0.8544 GB, free: 13.55 MB / 0.823 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.410502583254129]