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.001801/0.001801, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002539/0.002539, allocations: 208 kB / 23 MB, free: 4.934 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.371/3.371, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 68.38 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.405, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003141/0.4081, allocations: 1.532 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.4095, allocations: 0.5307 MB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.4096, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.4097, allocations: 7.875 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.4098, allocations: 27.84 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009348/0.4107, allocations: 309.3 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006523/0.4114, allocations: 491.4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.4114, allocations: 15.98 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.4119, allocations: 275.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.4123, allocations: 155.6 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.99e-05/0.4124, allocations: 24 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.4125, allocations: 28 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4127, allocations: 119.6 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.4128, allocations: 155.3 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005041/0.4133, allocations: 430.4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.4133, allocations: 0 / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4133, allocations: 3.938 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4134, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 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.001449/0.4148, allocations: 0.795 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4149, allocations: 8.031 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.415, allocations: 56.69 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.4155, allocations: 252.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.4155, allocations: 16.36 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.709e-05/0.4156, allocations: 36.3 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.4167, allocations: 210 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4167, allocations: 192 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.4167, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4168, allocations: 4 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008278/0.4176, allocations: 99.91 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.418, allocations: 277.1 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.4191, allocations: 170.5 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007845/0.4199, allocations: 100.7 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.4199, allocations: 4 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.421, allocations: 219.2 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.421, allocations: 4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002699/0.4237, allocations: 486.7 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.4237, allocations: 71.38 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.4243, allocations: 409.9 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.4243, allocations: 45.62 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.4244, allocations: 89.45 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.454e-05/0.4245, allocations: 43.69 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.4247, allocations: 125.5 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4249, allocations: 326.8 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.4252, allocations: 191.3 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.4256, allocations: 249.2 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.426, allocations: 271 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.426, allocations: 4 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009149/0.4269, allocations: 0.548 MB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/0.427, allocations: 79.38 kB / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.427, allocations: 0 / 1.336 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.427, allocations: 7.938 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.4272, allocations: 23.92 kB / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4272, allocations: 0 / 1.336 GB, free: 7.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.4277, allocations: 76 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-05/0.4278, allocations: 63.97 kB / 1.336 GB, free: 7.301 MB / 1.029 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.0002514/0.4281, allocations: 192.2 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.4281, allocations: 39.72 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.4282, allocations: 43.67 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4282, allocations: 7.875 kB / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4282, allocations: 0 / 1.336 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.4285, allocations: 125.9 kB / 1.337 GB, free: 6.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.4286, allocations: 20 kB / 1.337 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.429, allocations: 25.09 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.4291, allocations: 7.984 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001829/0.4309, allocations: 436.6 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001873/0.4328, allocations: 0.5516 MB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007904/0.4336, allocations: 107.9 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003708/0.434, allocations: 299.1 kB / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of Backend: time 5.81e-07/0.434, allocations: 0 / 1.338 GB, free: 5.445 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00116/0.4351, allocations: 448.3 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of SimCode: time 0.001481/0.4366, allocations: 0.9459 MB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of Templates: time 0.01265/0.4492, allocations: 6.455 MB / 1.346 GB, free: 13.46 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.689890727000602]