Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008722/0.0008722, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.002018, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007109/0.0007109, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009005/0.001611, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9221/0.9221, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08788/1.01, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.362/2.362, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2431/2.606, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.CalendarTimeMonthsPlus,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.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.857e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002003/0.002022, allocations: 1.612 MB / 0.8205 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.002878, allocations: 0.5546 MB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.00293, allocations: 4 kB / 0.821 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.002978, allocations: 7.875 kB / 0.821 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.984e-05/0.003058, allocations: 27.84 kB / 0.8211 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.003616, allocations: 343.1 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.00402, allocations: 487.5 kB / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.31e-05/0.004053, allocations: 7.938 kB / 0.8219 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.004399, allocations: 371.6 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.004609, allocations: 139.5 kB / 0.8223 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.00466, allocations: 24 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.305e-05/0.004713, allocations: 28 kB / 0.8224 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.004797, allocations: 103.7 kB / 0.8225 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.004887, allocations: 103.8 kB / 0.8226 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.005145, allocations: 342.8 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.005155, allocations: 0 / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005156, allocations: 4 kB / 0.8229 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.005169, allocations: 0 / 0.8229 GB, free: 14.37 MB / 0.8073 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.0008329/0.006002, allocations: 0.8127 MB / 0.8237 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.00603, allocations: 8.031 kB / 0.8237 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.006114, allocations: 56.81 kB / 0.8238 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.006482, allocations: 228.1 kB / 0.824 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.193e-05/0.006524, allocations: 16.38 kB / 0.824 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.006574, allocations: 32.36 kB / 0.824 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003565/0.006931, allocations: 186.7 kB / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.006939, allocations: 192 / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.006955, allocations: 384 / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.006962, allocations: 4.375 kB / 0.8242 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.007033, allocations: 39.05 kB / 0.8243 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.00722, allocations: 112.9 kB / 0.8244 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.007384, allocations: 106.5 kB / 0.8245 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.587e-05/0.007449, allocations: 44.81 kB / 0.8245 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.007469, allocations: 4 kB / 0.8245 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.007641, allocations: 157.4 kB / 0.8247 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.007643, allocations: 0 / 0.8247 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0003098/0.007953, allocations: 197.5 kB / 0.8249 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.007988, allocations: 67.33 kB / 0.8249 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.008181, allocations: 327.3 kB / 0.8252 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.008218, allocations: 45.7 kB / 0.8253 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.008264, allocations: 93.42 kB / 0.8254 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.008298, allocations: 39.72 kB / 0.8254 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.008407, allocations: 109.4 kB / 0.8255 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.008479, allocations: 326.8 kB / 0.8258 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.008629, allocations: 155.3 kB / 0.826 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.008776, allocations: 205.3 kB / 0.8262 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.00895, allocations: 252.2 kB / 0.8264 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.008953, allocations: 4 kB / 0.8264 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003216/0.009275, allocations: 420.1 kB / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.009335, allocations: 79.38 kB / 0.8269 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009339, allocations: 0 / 0.8269 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.009351, allocations: 8.188 kB / 0.8269 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.00948, allocations: 47.89 kB / 0.8269 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.009484, allocations: 4 kB / 0.8269 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.009642, allocations: 43.86 kB / 0.827 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.009687, allocations: 51.92 kB / 0.827 GB, free: 9.844 MB / 0.8073 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.0001138/0.009801, allocations: 146.5 kB / 0.8272 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.009834, allocations: 27.97 kB / 0.8272 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.009871, allocations: 35.67 kB / 0.8272 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.009873, allocations: 8 kB / 0.8272 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.009876, allocations: 0 / 0.8272 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.009879, allocations: 0 / 0.8272 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.01027, allocations: 376.8 kB / 0.8276 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01028, allocations: 0 / 0.8276 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.0103, allocations: 4 kB / 0.8276 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.01043, allocations: 123.5 kB / 0.8277 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01044, allocations: 4 kB / 0.8277 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.01045, allocations: 15.97 kB / 0.8277 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.01046, allocations: 7.938 kB / 0.8278 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01046, allocations: 0 / 0.8278 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.01066, allocations: 231.9 kB / 0.828 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.0107, allocations: 16 kB / 0.828 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.01087, allocations: 27.97 kB / 0.828 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.01089, allocations: 15.92 kB / 0.828 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/0.01093, allocations: 51.97 kB / 0.8281 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.01102, allocations: 144.6 kB / 0.8282 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.01102, allocations: 0 / 0.8282 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002007/0.01122, allocations: 63.98 kB / 0.8283 GB, free: 8.516 MB / 0.8073 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.0001194/0.01134, allocations: 100.9 kB / 0.8284 GB, free: 8.406 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.01173, allocations: 402.1 kB / 0.8288 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.01174, allocations: 8 kB / 0.8288 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.01183, allocations: 61.38 kB / 0.8288 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.01206, allocations: 124.9 kB / 0.8289 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008535/0.01292, allocations: 464.1 kB / 0.8294 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.01296, allocations: 91.75 kB / 0.8295 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.013, allocations: 17.14 kB / 0.8295 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.01317, allocations: 119.3 kB / 0.8296 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of SimCode: time 1.172e-06/0.01317, allocations: 0 / 0.8296 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of Templates: time 0.006438/0.01961, allocations: 5.329 MB / 0.8348 GB, free: 1.664 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.147238376550376]