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.001316/0.001316, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001555/0.001555, allocations: 169.8 kB / 24.86 MB, free: 9.227 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 1.054/1.054, allocations: 177.1 MB / 205.3 MB, free: 5.082 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.85/1.85, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.513e-06/1.513e-06, allocations: 1.203 kB / 0.8127 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.619e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001767/0.001783, allocations: 1.555 MB / 0.8143 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.002673, allocations: 0.5454 MB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.002724, allocations: 4 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.578e-05/0.00282, allocations: 11.86 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.002921, allocations: 27.84 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.003469, allocations: 309 kB / 0.8151 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003451/0.003814, allocations: 488.3 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.003849, allocations: 4 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.00418, allocations: 360.2 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.004372, allocations: 129 kB / 0.8161 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.004417, allocations: 24 kB / 0.8161 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.004465, allocations: 28 kB / 0.8161 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.004549, allocations: 120.6 kB / 0.8162 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.734e-05/0.004647, allocations: 131.7 kB / 0.8164 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.005171, allocations: 371.7 kB / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.005175, allocations: 7.984 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005175, allocations: 0.875 kB / 0.8167 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.005182, allocations: 0 / 0.8167 GB, free: 13.39 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.0008215/0.006003, allocations: 0.9039 MB / 0.8176 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.006035, allocations: 11.97 kB / 0.8176 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.006128, allocations: 68.64 kB / 0.8177 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.006359, allocations: 252.7 kB / 0.8179 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.006395, allocations: 20.36 kB / 0.8179 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.006443, allocations: 32.36 kB / 0.818 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003104/0.006753, allocations: 197.6 kB / 0.8182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.00676, allocations: 0.7188 kB / 0.8182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.006778, allocations: 384 / 0.8182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006784, allocations: 1.188 kB / 0.8182 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.006866, allocations: 52.69 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.007094, allocations: 253 kB / 0.8185 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.007262, allocations: 127.7 kB / 0.8186 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.007342, allocations: 59.81 kB / 0.8186 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.007356, allocations: 4.594 kB / 0.8186 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.00753, allocations: 176.6 kB / 0.8188 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.007531, allocations: 0.6562 kB / 0.8188 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000507/0.008038, allocations: 359.2 kB / 0.8191 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.008084, allocations: 63.33 kB / 0.8192 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.008323, allocations: 422.5 kB / 0.8196 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.00836, allocations: 38.42 kB / 0.8196 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.008422, allocations: 144.1 kB / 0.8198 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.008458, allocations: 41.36 kB / 0.8198 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.008583, allocations: 135.1 kB / 0.82 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.008711, allocations: 0.5 MB / 0.8204 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.008881, allocations: 163.3 kB / 0.8206 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.009049, allocations: 225.6 kB / 0.8208 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.009243, allocations: 261 kB / 0.8211 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.009245, allocations: 0 / 0.8211 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000486/0.009731, allocations: 0.5289 MB / 0.8216 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/0.009784, allocations: 87.31 kB / 0.8217 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.009789, allocations: 0 / 0.8217 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.009799, allocations: 4 kB / 0.8217 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.009917, allocations: 31.97 kB / 0.8217 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.009922, allocations: 3.938 kB / 0.8217 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.0101, allocations: 55.73 kB / 0.8218 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.01016, allocations: 63.97 kB / 0.8218 GB, free: 7.855 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.0001188/0.01028, allocations: 182.6 kB / 0.822 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.01033, allocations: 47.75 kB / 0.822 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.01037, allocations: 35.69 kB / 0.8221 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01037, allocations: 0 / 0.8221 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01038, allocations: 4 kB / 0.8221 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01038, allocations: 7.922 kB / 0.8221 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005954/0.01098, allocations: 0.6073 MB / 0.8227 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01098, allocations: 0 / 0.8227 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.011, allocations: 8 kB / 0.8227 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01101, allocations: 3.938 kB / 0.8227 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.01103, allocations: 23.97 kB / 0.8227 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01103, allocations: 0 / 0.8227 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01103, allocations: 7.938 kB / 0.8227 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.0114, allocations: 450.7 kB / 0.8231 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.01154, allocations: 121.5 kB / 0.8233 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.01158, allocations: 12 kB / 0.8233 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.01173, allocations: 19.98 kB / 0.8233 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.01176, allocations: 19.91 kB / 0.8233 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.0118, allocations: 55.92 kB / 0.8234 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002525/0.01205, allocations: 263 kB / 0.8236 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01205, allocations: 0 / 0.8236 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000219/0.01227, allocations: 67.98 kB / 0.8237 GB, free: 5.883 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.01237, allocations: 112.7 kB / 0.8238 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003867/0.01276, allocations: 417.6 kB / 0.8242 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01276, allocations: 0 / 0.8242 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.01285, allocations: 79.89 kB / 0.8243 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.0131, allocations: 53.56 kB / 0.8243 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.01373, allocations: 475 kB / 0.8248 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.01378, allocations: 83.81 kB / 0.8248 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.678e-05/0.01381, allocations: 17.14 kB / 0.8249 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.01398, allocations: 138.2 kB / 0.825 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.01398, allocations: 3.938 kB / 0.825 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of Templates: time 0.006541/0.02052, allocations: 5.511 MB / 0.8304 GB, free: 14.88 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.13274416513741]