Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001803/0.001803, allocations: 74.11 kB / 19.18 MB, free: 2.539 MB / 14.72 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.00214/0.00214, allocations: 168.1 kB / 22.46 MB, free: 5.348 MB / 14.72 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.822/2.822, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.CalendarTimeMonthsMinus,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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.585e-05, allocations: 2.281 kB / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002753/0.002779, allocations: 1.535 MB / 1.002 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004102, allocations: 0.5188 MB / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.004174, allocations: 0 / 1.002 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.004279, allocations: 19.8 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.004413, allocations: 39.56 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009923/0.005405, allocations: 314.9 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.006129, allocations: 491.4 kB / 1.003 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.006181, allocations: 4 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/0.006799, allocations: 355.6 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.007152, allocations: 131.7 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.007278, allocations: 28 kB / 1.003 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.00739, allocations: 28 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.007536, allocations: 115.7 kB / 1.004 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.007726, allocations: 131.7 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.008301, allocations: 458.8 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.008303, allocations: 0 / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.81e-07/0.008304, allocations: 3.938 kB / 1.004 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.008312, allocations: 3.938 kB / 1.004 GB, free: 3.207 MB / 0.9512 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.001541/0.009852, allocations: 0.799 MB / 1.005 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.0099, allocations: 8.031 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/0.01012, allocations: 60.64 kB / 1.005 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.0107, allocations: 256 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.01076, allocations: 12.36 kB / 1.005 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.73e-05/0.01086, allocations: 32.36 kB / 1.005 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.01203, allocations: 222 kB / 1.005 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.01204, allocations: 4.188 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.424e-05/0.01208, allocations: 4.375 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.01208, allocations: 384 / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008865/0.01297, allocations: 123.8 kB / 1.006 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.01341, allocations: 281.1 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.01459, allocations: 190.4 kB / 1.006 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008363/0.01543, allocations: 112.8 kB / 1.006 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.01546, allocations: 4 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.01656, allocations: 243.1 kB / 1.006 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.01656, allocations: 3.938 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.002956/0.01952, allocations: 0.5167 MB / 1.007 GB, free: 208 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.01958, allocations: 63.39 kB / 1.007 GB, free: 132 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.02008, allocations: 413.8 kB / 1.007 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.02015, allocations: 45.69 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.02024, allocations: 89.39 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.02029, allocations: 39.78 kB / 1.008 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.02053, allocations: 129.4 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.02068, allocations: 322.8 kB / 1.008 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.02103, allocations: 199.3 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.02141, allocations: 249.2 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.02183, allocations: 271.4 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.02183, allocations: 0 / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009799/0.02281, allocations: 0.5625 MB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/0.02291, allocations: 83.38 kB / 1.009 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.02292, allocations: 0 / 1.009 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.02294, allocations: 4 kB / 1.009 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.0231, allocations: 19.98 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.02312, allocations: 11.88 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.02365, allocations: 63.89 kB / 1.009 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.02375, allocations: 64.11 kB / 1.009 GB, free: 13.45 MB / 0.9669 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.0002353/0.02399, allocations: 192.2 kB / 1.01 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.02406, allocations: 39.77 kB / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.035e-05/0.02413, allocations: 43.67 kB / 1.01 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.02413, allocations: 3.938 kB / 1.01 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.02414, allocations: 0 / 1.01 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.02414, allocations: 3.938 kB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.02656, allocations: 0.709 MB / 1.01 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.02656, allocations: 0 / 1.01 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.0266, allocations: 11.92 kB / 1.01 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.0266, allocations: 0 / 1.01 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.02665, allocations: 23.92 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02665, allocations: 4 kB / 1.01 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.02665, allocations: 3.984 kB / 1.01 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.02862, allocations: 0.4945 MB / 1.011 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.0289, allocations: 137.5 kB / 1.011 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.966e-05/0.02898, allocations: 11.94 kB / 1.011 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005339/0.02951, allocations: 43.95 kB / 1.011 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.02955, allocations: 15.92 kB / 1.011 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.02967, allocations: 51.98 kB / 1.011 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005106/0.03018, allocations: 295.1 kB / 1.011 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03018, allocations: 0 / 1.011 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00037/0.03055, allocations: 71.98 kB / 1.012 GB, free: 11.25 MB / 0.9669 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.0001678/0.03071, allocations: 119.1 kB / 1.012 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.0322, allocations: 489.9 kB / 1.012 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.0322, allocations: 0 / 1.012 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/0.03306, allocations: 127.8 kB / 1.012 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.03344, allocations: 24.94 kB / 1.012 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.03504, allocations: 0.5774 MB / 1.013 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.03521, allocations: 163 kB / 1.013 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.776e-05/0.03527, allocations: 13.14 kB / 1.013 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.03531, allocations: 16.5 kB / 1.013 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.03531, allocations: 4 kB / 1.013 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.0107/0.04602, allocations: 5.863 MB / 1.019 GB, free: 3.715 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.054051764309406]