Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001938/0.001938, allocations: 108.2 kB / 19.71 MB, free: 2.145 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.002164/0.002164, allocations: 212.2 kB / 23 MB, free: 4.969 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.419/3.419, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.00208/0.00208, allocations: 68.3 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.414, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003156/0.4171, allocations: 1.732 MB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.4185, allocations: 0.6107 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.4186, allocations: 3.938 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.4187, allocations: 15.86 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.4188, allocations: 35.78 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000838/0.4197, allocations: 366.2 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006535/0.4203, allocations: 0.6048 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4204, allocations: 21.25 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.4208, allocations: 315.6 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.4211, allocations: 168.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.4212, allocations: 43.98 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.4213, allocations: 44 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.4215, allocations: 127.6 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.4217, allocations: 175.2 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.4223, allocations: 0.5957 MB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4223, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4223, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4223, allocations: 0 / 1.332 GB, free: 12.16 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001342/0.4236, allocations: 0.8417 MB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4237, allocations: 12.03 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.4238, allocations: 56.59 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.4242, allocations: 276.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.4243, allocations: 24.36 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.4244, allocations: 28.36 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.4255, allocations: 238 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4255, allocations: 192 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.4255, allocations: 7.938 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.4255, allocations: 7.938 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.4264, allocations: 119.9 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.4277, allocations: 0.5313 MB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.4288, allocations: 170.4 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007998/0.4296, allocations: 116.7 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.4296, allocations: 3.984 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.4306, allocations: 219.2 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.4306, allocations: 0 / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002757/0.4334, allocations: 0.4972 MB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.4334, allocations: 59.41 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.4339, allocations: 445.9 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.928e-05/0.434, allocations: 45.69 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.4341, allocations: 101.4 kB / 1.336 GB, free: 8.199 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.4342, allocations: 47.66 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.4344, allocations: 141.4 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4345, allocations: 322.8 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.4349, allocations: 223.3 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.4353, allocations: 273.2 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.4357, allocations: 302.7 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4357, allocations: 0 / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009622/0.4366, allocations: 0.5913 MB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.4367, allocations: 83.38 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4367, allocations: 0 / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4368, allocations: 4.188 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.4369, allocations: 31.92 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.437, allocations: 4 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.4375, allocations: 59.84 kB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/0.4376, allocations: 59.97 kB / 1.338 GB, free: 5.953 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002673/0.4378, allocations: 216.8 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.4379, allocations: 43.72 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.438, allocations: 47.72 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.438, allocations: 0 / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.438, allocations: 0 / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.4383, allocations: 181.5 kB / 1.338 GB, free: 5.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.4384, allocations: 16 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.4389, allocations: 31.89 kB / 1.338 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.4389, allocations: 11.98 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001818/0.4407, allocations: 434.6 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001844/0.4426, allocations: 0.5491 MB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000767/0.4433, allocations: 102.3 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003455/0.4437, allocations: 323.1 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of Backend: time 6.11e-07/0.4437, allocations: 0 / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.4447, allocations: 496.6 kB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of SimCode: time 0.001155/0.4459, allocations: 0.9826 MB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of Templates: time 0.01385/0.4597, allocations: 7.002 MB / 1.348 GB, free: 11.39 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.568998688002466]