Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001078/0.001078, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001047/0.001047, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.022/1.022, allocations: 177.2 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.488/2.488, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.626e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002637/0.002664, allocations: 1.828 MB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.003848, allocations: 0.6167 MB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.38e-05/0.003912, allocations: 4 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.004016, allocations: 15.8 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.004157, allocations: 27.8 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006189/0.004776, allocations: 379.2 kB / 0.8415 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000443/0.005219, allocations: 0.6048 MB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.524e-05/0.005314, allocations: 21.95 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.005699, allocations: 431.4 kB / 0.8425 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.005909, allocations: 139.7 kB / 0.8426 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.005966, allocations: 44 kB / 0.8427 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.006022, allocations: 40 kB / 0.8427 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.006126, allocations: 127.6 kB / 0.8428 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.006245, allocations: 151.7 kB / 0.843 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.006597, allocations: 434.8 kB / 0.8434 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.006599, allocations: 0 / 0.8434 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.212e-06/0.006601, allocations: 0 / 0.8434 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.006605, allocations: 0 / 0.8434 GB, free: 9.254 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008212/0.007427, allocations: 0.7894 MB / 0.8442 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.007461, allocations: 8.625 kB / 0.8442 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.454e-05/0.007546, allocations: 48.88 kB / 0.8442 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.007796, allocations: 248 kB / 0.8445 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.007835, allocations: 20.36 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.007881, allocations: 32.36 kB / 0.8445 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.008217, allocations: 194.7 kB / 0.8447 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.008225, allocations: 192 / 0.8447 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.008243, allocations: 4.375 kB / 0.8447 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.00825, allocations: 4.375 kB / 0.8447 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.236e-05/0.008332, allocations: 51.91 kB / 0.8447 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.00889, allocations: 324 kB / 0.8451 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.00905, allocations: 98.53 kB / 0.8452 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.166e-05/0.009122, allocations: 40.84 kB / 0.8452 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.009137, allocations: 4 kB / 0.8452 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.009333, allocations: 155.1 kB / 0.8453 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.009335, allocations: 0 / 0.8453 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003234/0.009659, allocations: 209.4 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.009693, allocations: 55.41 kB / 0.8456 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.009899, allocations: 351.4 kB / 0.8459 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.009936, allocations: 41.69 kB / 0.846 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.009989, allocations: 101.3 kB / 0.8461 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.01002, allocations: 39.7 kB / 0.8461 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.01015, allocations: 125.4 kB / 0.8462 GB, free: 6.168 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.01024, allocations: 326.8 kB / 0.8465 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.01039, allocations: 159.3 kB / 0.8467 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.01056, allocations: 217.2 kB / 0.8469 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.01076, allocations: 260.8 kB / 0.8471 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01076, allocations: 0 / 0.8471 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004116/0.01117, allocations: 448 kB / 0.8476 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.01123, allocations: 93.41 kB / 0.8477 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01124, allocations: 0 / 0.8477 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.01125, allocations: 12.17 kB / 0.8477 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01137, allocations: 35.91 kB / 0.8477 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.01137, allocations: 4 kB / 0.8477 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.01153, allocations: 51.8 kB / 0.8478 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.01158, allocations: 55.97 kB / 0.8478 GB, free: 4.414 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001502/0.01173, allocations: 139.2 kB / 0.8479 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.01177, allocations: 31.91 kB / 0.848 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.01181, allocations: 31.73 kB / 0.848 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.01181, allocations: 8 kB / 0.848 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.01181, allocations: 0 / 0.848 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.01182, allocations: 3.984 kB / 0.848 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.01224, allocations: 402.6 kB / 0.8484 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01224, allocations: 0 / 0.8484 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.01227, allocations: 7.984 kB / 0.8484 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.01227, allocations: 0 / 0.8484 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.01229, allocations: 11.97 kB / 0.8484 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01229, allocations: 4 kB / 0.8484 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01229, allocations: 0 / 0.8484 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.01251, allocations: 246.7 kB / 0.8487 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.01276, allocations: 127.5 kB / 0.8488 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.01281, allocations: 19.98 kB / 0.8488 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.01298, allocations: 39.97 kB / 0.8488 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.01301, allocations: 11.92 kB / 0.8488 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.01305, allocations: 39.98 kB / 0.8489 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001169/0.01317, allocations: 144.7 kB / 0.849 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01317, allocations: 0 / 0.849 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002023/0.01337, allocations: 71.92 kB / 0.8491 GB, free: 3.043 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001323/0.0135, allocations: 104.4 kB / 0.8492 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.01391, allocations: 422.8 kB / 0.8496 GB, free: 2.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.01391, allocations: 4 kB / 0.8496 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.014, allocations: 61.2 kB / 0.8497 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01423, allocations: 55.05 kB / 0.8497 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.01478, allocations: 487.7 kB / 0.8502 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.074e-05/0.01483, allocations: 95.8 kB / 0.8503 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.94e-05/0.01487, allocations: 9.5 kB / 0.8503 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.01505, allocations: 123.3 kB / 0.8504 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.01505, allocations: 0 / 0.8504 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of Templates: time 0.009505/0.02455, allocations: 5.876 MB / 0.8561 GB, free: 11.71 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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.346282532904297]