Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.0009457/0.0009457, allocations: 80.94 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.001143/0.001143, 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.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.475/2.475, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.956e-05/2.115e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002311/0.002332, allocations: 1.816 MB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.003314, allocations: 0.6265 MB / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.003361, allocations: 0 / 0.8411 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.818e-05/0.00343, allocations: 19.8 kB / 0.8411 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.921e-05/0.003519, allocations: 31.84 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.00402, allocations: 371.3 kB / 0.8415 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.004409, allocations: 0.6008 MB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.229e-05/0.004471, allocations: 21.95 kB / 0.8421 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.004833, allocations: 431.5 kB / 0.8425 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.005018, allocations: 139.7 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.095e-05/0.005069, allocations: 40 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.005124, allocations: 40 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.005203, allocations: 131.6 kB / 0.8428 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.005307, allocations: 155.7 kB / 0.843 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.005594, allocations: 434.8 kB / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.005596, allocations: 0 / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005596, allocations: 0 / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.0056, allocations: 0 / 0.8434 GB, free: 9.309 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.0006952/0.006295, allocations: 0.7816 MB / 0.8441 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.56e-05/0.00632, allocations: 8.625 kB / 0.8441 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.006393, allocations: 56.88 kB / 0.8442 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.006607, allocations: 244 kB / 0.8444 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.006639, allocations: 20.36 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.006682, allocations: 32.36 kB / 0.8445 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.006971, allocations: 198.7 kB / 0.8447 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006978, allocations: 192 / 0.8447 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.006994, allocations: 4.375 kB / 0.8447 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.006999, allocations: 4.375 kB / 0.8447 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.007077, allocations: 45.97 kB / 0.8447 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.007568, allocations: 324 kB / 0.845 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.007712, allocations: 102.5 kB / 0.8451 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/0.007782, allocations: 48.84 kB / 0.8452 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.007793, allocations: 0 / 0.8452 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.007947, allocations: 155.1 kB / 0.8453 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.007948, allocations: 0 / 0.8453 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002992/0.008247, allocations: 209.4 kB / 0.8455 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.008275, allocations: 59.41 kB / 0.8456 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.008468, allocations: 351.4 kB / 0.8459 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.008504, allocations: 41.69 kB / 0.846 GB, free: 6.488 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.008561, allocations: 101.4 kB / 0.8461 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.008588, allocations: 35.72 kB / 0.8461 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.008701, allocations: 129.4 kB / 0.8462 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.008773, allocations: 322.8 kB / 0.8465 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.00892, allocations: 163.3 kB / 0.8467 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.00907, allocations: 213.2 kB / 0.8469 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.009247, allocations: 246.4 kB / 0.8471 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.009248, allocations: 0 / 0.8471 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003602/0.009609, allocations: 456 kB / 0.8475 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.009661, allocations: 87.38 kB / 0.8476 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.009665, allocations: 0 / 0.8476 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.009678, allocations: 7.938 kB / 0.8476 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.00978, allocations: 43.91 kB / 0.8477 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.009784, allocations: 3.984 kB / 0.8477 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.009944, allocations: 47.86 kB / 0.8477 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.009991, allocations: 52.17 kB / 0.8478 GB, free: 4.48 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.0001032/0.01009, allocations: 151.2 kB / 0.8479 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.01013, allocations: 31.91 kB / 0.848 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.01017, allocations: 35.73 kB / 0.848 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01017, allocations: 0 / 0.848 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.01017, allocations: 0 / 0.848 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01017, allocations: 3.984 kB / 0.848 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.01056, allocations: 396.8 kB / 0.8484 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01056, allocations: 3.984 kB / 0.8484 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.01058, allocations: 7.938 kB / 0.8484 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01058, allocations: 0 / 0.8484 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.0106, allocations: 11.97 kB / 0.8484 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0106, allocations: 0 / 0.8484 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.0106, allocations: 0 / 0.8484 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.0108, allocations: 243.9 kB / 0.8486 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.01094, allocations: 135.5 kB / 0.8488 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.01099, allocations: 23.92 kB / 0.8488 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.01115, allocations: 31.97 kB / 0.8488 GB, free: 3.371 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.01117, allocations: 7.984 kB / 0.8488 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.01121, allocations: 47.98 kB / 0.8489 GB, free: 3.316 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.722e-05/0.01131, allocations: 140.7 kB / 0.849 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01131, allocations: 3.938 kB / 0.849 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001923/0.0115, allocations: 71.98 kB / 0.8491 GB, free: 3.102 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 8.595e-05/0.01159, allocations: 108.4 kB / 0.8492 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.01197, allocations: 417 kB / 0.8496 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.01197, allocations: 4.375 kB / 0.8496 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.01205, allocations: 60.83 kB / 0.8496 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.01225, allocations: 55.27 kB / 0.8497 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.01273, allocations: 487.8 kB / 0.8501 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.01277, allocations: 91.8 kB / 0.8502 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.01281, allocations: 17.48 kB / 0.8503 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.01297, allocations: 119.3 kB / 0.8504 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.01298, allocations: 4 kB / 0.8504 GB, free: 1.672 MB / 0.8073 GB Notification: Performance of Templates: time 0.006367/0.01934, allocations: 5.876 MB / 0.8561 GB, free: 11.77 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.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.379101867321879]