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.0009599/0.0009599, allocations: 80.75 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.0009874/0.0009874, allocations: 181 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.9607/0.9607, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.337/2.337, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.483e-06/1.483e-06, allocations: 3.938 kB / 0.8385 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.656e-05, allocations: 4.562 kB / 0.8385 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002531/0.002547, allocations: 1.561 MB / 0.8401 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.003801, allocations: 0.54 MB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.00386, allocations: 0 / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.378e-05/0.003953, allocations: 7.922 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.004067, allocations: 39.78 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.004838, allocations: 319.3 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.005358, allocations: 483.4 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.005393, allocations: 7.984 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.005861, allocations: 367.6 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.006129, allocations: 129.2 kB / 0.8419 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.006197, allocations: 28 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.006256, allocations: 24 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.006373, allocations: 127.6 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.006511, allocations: 123.7 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.006892, allocations: 382.9 kB / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006894, allocations: 0 / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006894, allocations: 0 / 0.8425 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.006898, allocations: 0 / 0.8425 GB, free: 10.11 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.0009363/0.007835, allocations: 0.7388 MB / 0.8433 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.007868, allocations: 12.62 kB / 0.8433 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.007977, allocations: 48.88 kB / 0.8433 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.00827, allocations: 240 kB / 0.8435 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.008313, allocations: 20.36 kB / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.015e-05/0.008383, allocations: 24.36 kB / 0.8436 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.008794, allocations: 185.9 kB / 0.8438 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.008802, allocations: 192 / 0.8438 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.008827, allocations: 8.359 kB / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.008833, allocations: 384 / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.008942, allocations: 47.86 kB / 0.8438 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.009161, allocations: 112.9 kB / 0.8439 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.009366, allocations: 102.7 kB / 0.844 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.009469, allocations: 40.84 kB / 0.8441 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.009486, allocations: 4 kB / 0.8441 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.009702, allocations: 147.2 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.009703, allocations: 0 / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.000449/0.01015, allocations: 217 kB / 0.8444 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.01019, allocations: 55.41 kB / 0.8445 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.01045, allocations: 331.3 kB / 0.8448 GB, free: 7.645 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.0105, allocations: 41.69 kB / 0.8448 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.01057, allocations: 93.41 kB / 0.8449 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.01061, allocations: 43.7 kB / 0.845 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.01077, allocations: 113.4 kB / 0.8451 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.01087, allocations: 330.8 kB / 0.8454 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.01108, allocations: 159.3 kB / 0.8455 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.0113, allocations: 205.2 kB / 0.8457 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.01164, allocations: 245.1 kB / 0.846 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.01165, allocations: 0 / 0.846 GB, free: 6.336 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004397/0.01209, allocations: 441.2 kB / 0.8464 GB, free: 5.875 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.01214, allocations: 81.41 kB / 0.8465 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.01215, allocations: 4 kB / 0.8465 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.01217, allocations: 0 / 0.8465 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.0123, allocations: 39.91 kB / 0.8465 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01231, allocations: 4 kB / 0.8465 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.01251, allocations: 48.11 kB / 0.8466 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.01256, allocations: 51.92 kB / 0.8466 GB, free: 5.641 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.0001546/0.01271, allocations: 146.5 kB / 0.8467 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.01276, allocations: 27.97 kB / 0.8468 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.01281, allocations: 31.69 kB / 0.8468 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01281, allocations: 4 kB / 0.8468 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01281, allocations: 3.984 kB / 0.8468 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01282, allocations: 0 / 0.8468 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.0133, allocations: 378.7 kB / 0.8472 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.0133, allocations: 7.984 kB / 0.8472 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.01333, allocations: 0 / 0.8472 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.01333, allocations: 4 kB / 0.8472 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.01335, allocations: 11.97 kB / 0.8472 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.01335, allocations: 4 kB / 0.8472 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01336, allocations: 0 / 0.8472 GB, free: 4.996 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.01359, allocations: 247.8 kB / 0.8474 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.01374, allocations: 107.6 kB / 0.8475 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.01378, allocations: 11.98 kB / 0.8475 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.01397, allocations: 35.92 kB / 0.8476 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.014, allocations: 11.91 kB / 0.8476 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.01404, allocations: 47.98 kB / 0.8476 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000106/0.01415, allocations: 136.7 kB / 0.8478 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01415, allocations: 0 / 0.8478 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002195/0.01437, allocations: 72 kB / 0.8478 GB, free: 4.32 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.0001618/0.01453, allocations: 92.95 kB / 0.8479 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.01495, allocations: 421.6 kB / 0.8483 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.01495, allocations: 4 kB / 0.8483 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.01503, allocations: 60.95 kB / 0.8484 GB, free: 3.707 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.01524, allocations: 41.61 kB / 0.8484 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.01588, allocations: 464 kB / 0.8489 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.01593, allocations: 83.81 kB / 0.8489 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.681e-05/0.01597, allocations: 17.14 kB / 0.849 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.01613, allocations: 115.3 kB / 0.8491 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.01613, allocations: 0 / 0.8491 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of Templates: time 0.006162/0.02229, allocations: 5.319 MB / 0.8543 GB, free: 13.59 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 -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.248023886233568]