Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001455/0.001455, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001177/0.001177, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9673/0.9673, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.878/1.878, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.75e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002073/0.0021, allocations: 1.567 MB / 0.813 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009186/0.003019, allocations: 0.5397 MB / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.003071, allocations: 0 / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.003164, allocations: 9.062 kB / 0.8136 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.00328, allocations: 23.97 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005581/0.003838, allocations: 316.9 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.004181, allocations: 491.3 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.004223, allocations: 4.719 kB / 0.8144 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.004545, allocations: 351.6 kB / 0.8147 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.004731, allocations: 129.9 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.004777, allocations: 28 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.636e-05/0.004824, allocations: 28 kB / 0.8149 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.004919, allocations: 115.7 kB / 0.815 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.005028, allocations: 140.2 kB / 0.8151 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003044/0.005332, allocations: 374.9 kB / 0.8155 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005335, allocations: 1.062 kB / 0.8155 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005336, allocations: 0 / 0.8155 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.00534, allocations: 0 / 0.8155 GB, free: 14.05 MB / 0.7761 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.0008179/0.006158, allocations: 0.9155 MB / 0.8164 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.006196, allocations: 8.031 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.0063, allocations: 62.03 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.006545, allocations: 250.9 kB / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.006582, allocations: 24.3 kB / 0.8167 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.006627, allocations: 26.12 kB / 0.8167 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.006974, allocations: 205.6 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.006982, allocations: 4.172 kB / 0.8169 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.007004, allocations: 8.375 kB / 0.8169 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.007012, allocations: 384 / 0.8169 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.007112, allocations: 61.25 kB / 0.817 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.007388, allocations: 308.4 kB / 0.8173 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.007576, allocations: 127.9 kB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.007679, allocations: 63.91 kB / 0.8175 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.007697, allocations: 4 kB / 0.8175 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.007889, allocations: 186.2 kB / 0.8176 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.00789, allocations: 0 / 0.8176 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005197/0.00841, allocations: 373.3 kB / 0.818 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.008446, allocations: 71.33 kB / 0.8181 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.008698, allocations: 418.7 kB / 0.8185 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.008734, allocations: 45.69 kB / 0.8185 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.008791, allocations: 140.1 kB / 0.8186 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.008826, allocations: 43.72 kB / 0.8187 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.008942, allocations: 135.1 kB / 0.8188 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.009049, allocations: 0.4923 MB / 0.8193 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.009244, allocations: 175.3 kB / 0.8195 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.009437, allocations: 241.1 kB / 0.8197 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.009658, allocations: 279.4 kB / 0.82 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.009661, allocations: 0 / 0.82 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005191/0.01018, allocations: 0.5586 MB / 0.8205 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.01023, allocations: 79.38 kB / 0.8206 GB, free: 8.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.01024, allocations: 11.94 kB / 0.8206 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.01025, allocations: 8.172 kB / 0.8206 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01037, allocations: 31.98 kB / 0.8206 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.01037, allocations: 7.922 kB / 0.8206 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.01055, allocations: 51.8 kB / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.0106, allocations: 59.98 kB / 0.8207 GB, free: 8.32 MB / 0.7761 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.0001098/0.01071, allocations: 178.6 kB / 0.8209 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.01076, allocations: 43.77 kB / 0.821 GB, free: 8.094 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.0108, allocations: 39.67 kB / 0.821 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.0108, allocations: 8 kB / 0.821 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.0108, allocations: 0 / 0.821 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.01081, allocations: 3.938 kB / 0.821 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006377/0.01144, allocations: 0.6692 MB / 0.8217 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01145, allocations: 0 / 0.8217 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.335e-05/0.01147, allocations: 4 kB / 0.8217 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01147, allocations: 0 / 0.8217 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.0115, allocations: 31.84 kB / 0.8217 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.0115, allocations: 4 kB / 0.8217 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0115, allocations: 0 / 0.8217 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.01187, allocations: 460.8 kB / 0.8221 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.012, allocations: 125.5 kB / 0.8223 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.01205, allocations: 15.94 kB / 0.8223 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.0122, allocations: 23.97 kB / 0.8223 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.01223, allocations: 7.984 kB / 0.8223 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.01227, allocations: 59.98 kB / 0.8224 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001458/0.01241, allocations: 275.1 kB / 0.8226 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01241, allocations: 0 / 0.8226 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002151/0.01263, allocations: 67.98 kB / 0.8227 GB, free: 6.254 MB / 0.7761 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 9.843e-05/0.01273, allocations: 115.7 kB / 0.8228 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.01316, allocations: 424.8 kB / 0.8232 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01316, allocations: 384 / 0.8232 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.01327, allocations: 99.5 kB / 0.8233 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.01352, allocations: 51.62 kB / 0.8233 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007002/0.01422, allocations: 483 kB / 0.8238 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.017e-05/0.01427, allocations: 83.81 kB / 0.8239 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.01431, allocations: 17.14 kB / 0.8239 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.01435, allocations: 20.48 kB / 0.8239 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.01435, allocations: 0 / 0.8239 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of Templates: time 0.006572/0.02092, allocations: 5.901 MB / 0.8297 GB, free: 14.95 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.143199192127213]