Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001028/0.001028, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001154/0.001154, allocations: 161 kB / 23.82 MB, free: 0.75 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.9806/0.9806, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.837e-05, allocations: 4.703 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.005972/0.006, allocations: 1.568 MB / 0.813 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004856/0.01086, allocations: 0.5396 MB / 0.8135 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.01094, allocations: 8.594 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.01106, allocations: 4.812 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.01119, allocations: 27.84 kB / 0.8136 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.01219, allocations: 310 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.0149, allocations: 491.4 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.01495, allocations: 4 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000624/0.01557, allocations: 363.5 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.01589, allocations: 125.3 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.29e-05/0.01598, allocations: 24 kB / 0.8148 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.01606, allocations: 28 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.01618, allocations: 120.9 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.01634, allocations: 131.7 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.0168, allocations: 374.9 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.01681, allocations: 1.312 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01681, allocations: 4 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.01682, allocations: 0 / 0.8155 GB, free: 13.67 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.0012/0.01802, allocations: 0.9009 MB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.01806, allocations: 12.02 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.01821, allocations: 64.66 kB / 0.8164 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.01858, allocations: 254.8 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.01863, allocations: 16.38 kB / 0.8167 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.806e-05/0.01871, allocations: 32.89 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.01922, allocations: 207.5 kB / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01923, allocations: 192 / 0.8169 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.01926, allocations: 4.375 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.01927, allocations: 384 / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.01942, allocations: 58.59 kB / 0.817 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.01984, allocations: 320.3 kB / 0.8173 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.02013, allocations: 133.2 kB / 0.8174 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.02029, allocations: 69.94 kB / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.02031, allocations: 0 / 0.8175 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.02061, allocations: 181.1 kB / 0.8176 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.02061, allocations: 4 kB / 0.8177 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0008031/0.02141, allocations: 384.7 kB / 0.818 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.02145, allocations: 55.41 kB / 0.8181 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.02188, allocations: 426.7 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.47e-05/0.02193, allocations: 37.7 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.48e-05/0.02202, allocations: 148.1 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.02207, allocations: 35.73 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.02227, allocations: 139.1 kB / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.02241, allocations: 0.4923 MB / 0.8193 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.02274, allocations: 175.3 kB / 0.8195 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.02307, allocations: 249 kB / 0.8197 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.02344, allocations: 271.2 kB / 0.82 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02344, allocations: 0 / 0.82 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008978/0.02434, allocations: 0.5587 MB / 0.8205 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.622e-05/0.02443, allocations: 90.03 kB / 0.8206 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02444, allocations: 0 / 0.8206 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.02446, allocations: 4 kB / 0.8206 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.02465, allocations: 35.91 kB / 0.8206 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.02466, allocations: 11.88 kB / 0.8206 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.02496, allocations: 43.86 kB / 0.8207 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.02505, allocations: 63.97 kB / 0.8207 GB, free: 7.945 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.0001644/0.02522, allocations: 182.6 kB / 0.8209 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-05/0.0253, allocations: 51.75 kB / 0.821 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.02536, allocations: 27.69 kB / 0.821 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.02536, allocations: 4 kB / 0.821 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.02537, allocations: 0 / 0.821 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.324e-05/0.02541, allocations: 7.922 kB / 0.821 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.02646, allocations: 0.6692 MB / 0.8217 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.02646, allocations: 4 kB / 0.8217 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.02651, allocations: 7.984 kB / 0.8217 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.02651, allocations: 0 / 0.8217 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.02655, allocations: 23.92 kB / 0.8217 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.02656, allocations: 4 kB / 0.8217 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.02656, allocations: 0 / 0.8217 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006807/0.02724, allocations: 462.4 kB / 0.8221 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.02749, allocations: 125.5 kB / 0.8223 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.064e-05/0.02756, allocations: 11.94 kB / 0.8223 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.02783, allocations: 19.98 kB / 0.8223 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.02786, allocations: 15.92 kB / 0.8223 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.02794, allocations: 63.95 kB / 0.8224 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000237/0.02817, allocations: 275 kB / 0.8226 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/0.02817, allocations: 0 / 0.8226 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003801/0.02855, allocations: 68 kB / 0.8227 GB, free: 5.875 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 0.000158/0.02871, allocations: 113.7 kB / 0.8228 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007052/0.02942, allocations: 437.6 kB / 0.8232 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.02942, allocations: 0 / 0.8232 GB, free: 5.289 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.0296, allocations: 79.97 kB / 0.8233 GB, free: 5.207 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.03003, allocations: 57.48 kB / 0.8234 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.03124, allocations: 485.3 kB / 0.8238 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.563e-05/0.03132, allocations: 83.81 kB / 0.8239 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.748e-05/0.03137, allocations: 17.14 kB / 0.8239 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.03143, allocations: 20.5 kB / 0.8239 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of SimCode: time 9.32e-07/0.03143, allocations: 0 / 0.8239 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of Templates: time 0.007892/0.03932, allocations: 5.894 MB / 0.8297 GB, free: 14.57 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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.301805090159178]