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.001435/0.001435, 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.001631/0.001631, allocations: 169 kB / 24.28 MB, free: 280 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.9653/0.9653, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.875/1.875, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.432e-06/1.432e-06, allocations: 0 / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.402e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001653/0.001667, allocations: 1.569 MB / 0.813 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.002541, allocations: 0.5435 MB / 0.8135 GB, free: 0 / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.002592, allocations: 0 / 0.8135 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.002694, allocations: 11.98 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.002791, allocations: 23.75 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.003355, allocations: 313 kB / 0.8139 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.003703, allocations: 492.7 kB / 0.8143 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.003741, allocations: 7.984 kB / 0.8144 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.004063, allocations: 351.6 kB / 0.8147 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.004249, allocations: 129.3 kB / 0.8148 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.004297, allocations: 28 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.004342, allocations: 24 kB / 0.8149 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.004435, allocations: 122.1 kB / 0.815 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.00454, allocations: 131.7 kB / 0.8151 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.00483, allocations: 378.9 kB / 0.8155 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004832, allocations: 0 / 0.8155 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004833, allocations: 0 / 0.8155 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.004837, allocations: 0 / 0.8155 GB, free: 14.04 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.000841/0.005678, allocations: 0.9034 MB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005712, allocations: 12.56 kB / 0.8164 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.005814, allocations: 64.64 kB / 0.8164 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.006054, allocations: 252.5 kB / 0.8167 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.006089, allocations: 20.36 kB / 0.8167 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.006134, allocations: 32.36 kB / 0.8167 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.006473, allocations: 205.6 kB / 0.8169 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.00648, allocations: 1.031 kB / 0.8169 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.006499, allocations: 384 / 0.8169 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.006507, allocations: 6.188 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.006606, allocations: 61.06 kB / 0.817 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.006878, allocations: 312.3 kB / 0.8173 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.007078, allocations: 130.3 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.007178, allocations: 63.81 kB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.007197, allocations: 7.984 kB / 0.8175 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.007389, allocations: 185.7 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.00739, allocations: 0 / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0005162/0.007906, allocations: 374.8 kB / 0.818 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.007941, allocations: 59.34 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.008184, allocations: 426.7 kB / 0.8185 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.00822, allocations: 41.69 kB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.008281, allocations: 148.1 kB / 0.8186 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.008315, allocations: 43.72 kB / 0.8187 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.008427, allocations: 131.1 kB / 0.8188 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.008542, allocations: 0.4962 MB / 0.8193 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.008735, allocations: 171.3 kB / 0.8195 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.008941, allocations: 245.1 kB / 0.8197 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.009163, allocations: 279.8 kB / 0.82 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.009165, allocations: 0 / 0.82 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005158/0.009681, allocations: 0.547 MB / 0.8205 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/0.009728, allocations: 85.97 kB / 0.8206 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.009732, allocations: 192 / 0.8206 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.009747, allocations: 15.94 kB / 0.8206 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.009867, allocations: 35.97 kB / 0.8206 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.009875, allocations: 11.88 kB / 0.8206 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.01005, allocations: 47.86 kB / 0.8207 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.0101, allocations: 55.98 kB / 0.8207 GB, free: 8.309 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.0001161/0.01021, allocations: 182.6 kB / 0.8209 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.01026, allocations: 47.75 kB / 0.821 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.699e-05/0.0103, allocations: 35.69 kB / 0.821 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.0103, allocations: 0 / 0.821 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01031, allocations: 0 / 0.821 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01031, allocations: 11.86 kB / 0.821 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006296/0.01094, allocations: 0.667 MB / 0.8217 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01094, allocations: 0 / 0.8217 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.318e-05/0.01097, allocations: 7.984 kB / 0.8217 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01097, allocations: 7.938 kB / 0.8217 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.01099, allocations: 23.92 kB / 0.8217 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01099, allocations: 7.984 kB / 0.8217 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.011, allocations: 0 / 0.8217 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.01136, allocations: 464 kB / 0.8221 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.01149, allocations: 117.5 kB / 0.8223 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.01154, allocations: 19.86 kB / 0.8223 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.01172, allocations: 19.98 kB / 0.8223 GB, free: 6.637 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.01175, allocations: 11.98 kB / 0.8223 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.0118, allocations: 59.97 kB / 0.8224 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001542/0.01195, allocations: 275.1 kB / 0.8226 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01195, allocations: 0 / 0.8226 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002239/0.01217, allocations: 64 kB / 0.8227 GB, free: 6.238 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.992e-05/0.01227, allocations: 121.4 kB / 0.8228 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.01272, allocations: 432.6 kB / 0.8232 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01272, allocations: 4.062 kB / 0.8232 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.01283, allocations: 83.53 kB / 0.8233 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.01308, allocations: 57.55 kB / 0.8233 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006962/0.01378, allocations: 479 kB / 0.8238 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.823e-05/0.01382, allocations: 87.81 kB / 0.8239 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.01386, allocations: 17.14 kB / 0.8239 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.01389, allocations: 16.5 kB / 0.8239 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.01389, allocations: 3.938 kB / 0.8239 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of Templates: time 0.006363/0.02026, allocations: 5.895 MB / 0.8297 GB, free: 14.93 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.153280855156481]