Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.001024/0.001024, 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.001478/0.001478, allocations: 177.4 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 0.9145/0.9145, 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.267/2.267, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 178] 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.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.538e-05, allocations: 8.781 kB / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.007599/0.007624, allocations: 1.568 MB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.008778, allocations: 0.5342 MB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.00883, allocations: 0 / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.13e-05/0.008921, allocations: 11.86 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.009031, allocations: 35.78 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.01273, allocations: 323.3 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.01319, allocations: 479.4 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.01322, allocations: 4 kB / 0.8414 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.01364, allocations: 367.5 kB / 0.8418 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.01387, allocations: 134 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.01393, allocations: 24 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.331e-05/0.01398, allocations: 28 kB / 0.8419 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.01409, allocations: 123.6 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.01422, allocations: 131.7 kB / 0.8422 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000333/0.01455, allocations: 378.8 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01455, allocations: 0 / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.235e-06/0.01455, allocations: 4 kB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.01456, allocations: 0 / 0.8425 GB, free: 10.14 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.0008412/0.0154, allocations: 0.7388 MB / 0.8433 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.01543, allocations: 8.625 kB / 0.8433 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/0.01553, allocations: 48.88 kB / 0.8433 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.01881, allocations: 240 kB / 0.8435 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.01885, allocations: 12.36 kB / 0.8436 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.01891, allocations: 32.36 kB / 0.8436 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.01928, allocations: 182.7 kB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.01929, allocations: 192 / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.01931, allocations: 4.375 kB / 0.8438 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.01932, allocations: 8.375 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.642e-05/0.01942, allocations: 47.91 kB / 0.8438 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.01962, allocations: 112.9 kB / 0.8439 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.01981, allocations: 98.66 kB / 0.844 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.0199, allocations: 44.84 kB / 0.8441 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.01991, allocations: 4 kB / 0.8441 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.02011, allocations: 151.1 kB / 0.8442 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.02011, allocations: 0 / 0.8442 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003985/0.02051, allocations: 213 kB / 0.8444 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.02054, allocations: 59.34 kB / 0.8445 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.02077, allocations: 323.3 kB / 0.8448 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.02081, allocations: 41.69 kB / 0.8448 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.02086, allocations: 97.41 kB / 0.8449 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.0209, allocations: 43.7 kB / 0.845 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.02104, allocations: 117.4 kB / 0.8451 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.02112, allocations: 326.8 kB / 0.8454 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.02131, allocations: 151.3 kB / 0.8455 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003205/0.02451, allocations: 209.3 kB / 0.8457 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.02474, allocations: 246.8 kB / 0.846 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.02474, allocations: 0 / 0.846 GB, free: 6.371 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004499/0.02519, allocations: 440.1 kB / 0.8464 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/0.02525, allocations: 81.41 kB / 0.8465 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.02526, allocations: 0 / 0.8465 GB, free: 5.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.02527, allocations: 4 kB / 0.8465 GB, free: 5.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.0254, allocations: 35.91 kB / 0.8465 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.02541, allocations: 4 kB / 0.8465 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.02562, allocations: 44.11 kB / 0.8465 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.02568, allocations: 55.92 kB / 0.8466 GB, free: 5.68 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.0001317/0.02581, allocations: 146.5 kB / 0.8467 GB, free: 5.523 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.02586, allocations: 31.95 kB / 0.8468 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.02591, allocations: 31.69 kB / 0.8468 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.02591, allocations: 4 kB / 0.8468 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.02591, allocations: 0 / 0.8468 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.02591, allocations: 3.984 kB / 0.8468 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.02641, allocations: 378.7 kB / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.02642, allocations: 0 / 0.8472 GB, free: 5.059 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.02644, allocations: 7.984 kB / 0.8472 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.02644, allocations: 0 / 0.8472 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.02646, allocations: 11.97 kB / 0.8472 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02646, allocations: 0 / 0.8472 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.02647, allocations: 4 kB / 0.8472 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.02674, allocations: 255.7 kB / 0.8474 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.02691, allocations: 111.6 kB / 0.8475 GB, free: 4.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.586e-05/0.02696, allocations: 11.98 kB / 0.8475 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.02718, allocations: 27.98 kB / 0.8476 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.02721, allocations: 11.92 kB / 0.8476 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.02726, allocations: 47.97 kB / 0.8476 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003128/0.03038, allocations: 140.7 kB / 0.8478 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.21e-07/0.03038, allocations: 0 / 0.8478 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003334/0.03072, allocations: 68 kB / 0.8478 GB, free: 4.355 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.0001369/0.03085, allocations: 100.9 kB / 0.8479 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005415/0.0314, allocations: 406 kB / 0.8483 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.0314, allocations: 8.062 kB / 0.8483 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.03151, allocations: 64.77 kB / 0.8484 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.03176, allocations: 39.16 kB / 0.8484 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.03246, allocations: 464.1 kB / 0.8489 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.03252, allocations: 87.81 kB / 0.8489 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.03256, allocations: 13.14 kB / 0.849 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.03275, allocations: 115.3 kB / 0.8491 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.03275, allocations: 4 kB / 0.8491 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of Templates: time 0.01326/0.04601, allocations: 5.316 MB / 0.8543 GB, free: 13.62 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_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.079481244087219]