Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001416/0.001416, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001485/0.001485, allocations: 157.6 kB / 23.01 MB, free: 4.941 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.474/1.474, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.857/2.857, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [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.002126/0.002126, allocations: 70.08 kB / 0.982 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9246/0.9268, allocations: 176.1 MB / 1.154 GB, free: 3.109 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003395/0.9302, allocations: 1.741 MB / 1.156 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.9317, allocations: 0.61 MB / 1.156 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.9317, allocations: 5.094 kB / 1.156 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.9318, allocations: 12.17 kB / 1.156 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.932, allocations: 32.02 kB / 1.156 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.9329, allocations: 370.4 kB / 1.157 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.9336, allocations: 0.5944 MB / 1.157 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.9337, allocations: 26.08 kB / 1.157 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004932/0.9342, allocations: 322.4 kB / 1.158 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.9346, allocations: 155.8 kB / 1.158 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.9347, allocations: 40.38 kB / 1.158 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.9348, allocations: 41.88 kB / 1.158 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.9349, allocations: 123.7 kB / 1.158 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.9352, allocations: 182.4 kB / 1.158 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.9358, allocations: 0.5961 MB / 1.159 GB, free: 140 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9358, allocations: 1.281 kB / 1.159 GB, free: 140 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9358, allocations: 0 / 1.159 GB, free: 140 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.9358, allocations: 0 / 1.159 GB, free: 140 kB / 1.014 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.001447/0.9373, allocations: 0.8422 MB / 1.159 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.9373, allocations: 9.594 kB / 1.159 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.9375, allocations: 61.59 kB / 1.16 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.9379, allocations: 284 kB / 1.16 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.938, allocations: 24.27 kB / 1.16 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.9381, allocations: 32.36 kB / 1.16 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.9391, allocations: 244.6 kB / 1.16 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.9391, allocations: 4.188 kB / 1.16 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.9392, allocations: 10.38 kB / 1.16 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.9392, allocations: 2.25 kB / 1.16 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008272/0.94, allocations: 134.2 kB / 1.16 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.9414, allocations: 0.5368 MB / 1.161 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.9425, allocations: 193.1 kB / 1.161 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007866/0.9433, allocations: 121.8 kB / 1.161 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.9434, allocations: 2.312 kB / 1.161 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.9444, allocations: 248 kB / 1.161 GB, free: 14.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.9444, allocations: 0 / 1.161 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.00274/0.9471, allocations: 0.5372 MB / 1.162 GB, free: 13.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.9472, allocations: 65.22 kB / 1.162 GB, free: 13.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.9477, allocations: 440.1 kB / 1.162 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.9478, allocations: 45.91 kB / 1.162 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.9479, allocations: 102.1 kB / 1.162 GB, free: 13.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.9479, allocations: 37.98 kB / 1.162 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.9482, allocations: 138.6 kB / 1.163 GB, free: 13.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.9483, allocations: 333.5 kB / 1.163 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.9487, allocations: 220.5 kB / 1.163 GB, free: 12.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.9491, allocations: 283.7 kB / 1.163 GB, free: 12.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.9495, allocations: 293.1 kB / 1.164 GB, free: 12.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.9495, allocations: 1.156 kB / 1.164 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001022/0.9506, allocations: 0.6071 MB / 1.164 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.051e-05/0.9507, allocations: 85.19 kB / 1.164 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9507, allocations: 5.141 kB / 1.164 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.9507, allocations: 2.75 kB / 1.164 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.9509, allocations: 26.55 kB / 1.164 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9509, allocations: 2.562 kB / 1.164 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005583/0.9514, allocations: 65.66 kB / 1.164 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.9515, allocations: 57.64 kB / 1.165 GB, free: 11.95 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.00031/0.9518, allocations: 229 kB / 1.165 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.9519, allocations: 41.28 kB / 1.165 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.389e-05/0.952, allocations: 40.77 kB / 1.165 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.952, allocations: 2.219 kB / 1.165 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.952, allocations: 3.984 kB / 1.165 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.952, allocations: 1.25 kB / 1.165 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.9543, allocations: 0.7484 MB / 1.166 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9543, allocations: 3.938 kB / 1.166 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.9544, allocations: 8.109 kB / 1.166 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.9544, allocations: 0 / 1.166 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/0.9544, allocations: 25.47 kB / 1.166 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9544, allocations: 5.188 kB / 1.166 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9544, allocations: 0 / 1.166 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.9563, allocations: 0.505 MB / 1.166 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.9566, allocations: 190.2 kB / 1.166 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.709e-05/0.9567, allocations: 19.03 kB / 1.166 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.9572, allocations: 37.53 kB / 1.166 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.9573, allocations: 12.17 kB / 1.166 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.59e-05/0.9573, allocations: 59 kB / 1.166 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003539/0.9577, allocations: 317.3 kB / 1.167 GB, free: 10.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9577, allocations: 0 / 1.167 GB, free: 10.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004206/0.9581, allocations: 73.33 kB / 1.167 GB, free: 10.6 MB / 1.029 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002199/0.9583, allocations: 132.3 kB / 1.167 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.9598, allocations: 0.5163 MB / 1.167 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9598, allocations: 0 / 1.167 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008148/0.9606, allocations: 134.9 kB / 1.168 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.9611, allocations: 48.44 kB / 1.168 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.9627, allocations: 0.6099 MB / 1.168 GB, free: 9.668 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.9629, allocations: 184.7 kB / 1.168 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.322e-05/0.963, allocations: 17.73 kB / 1.168 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.963, allocations: 16.75 kB / 1.168 GB, free: 9.516 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.963, allocations: 0 / 1.168 GB, free: 9.516 MB / 1.029 GB Notification: Performance of Templates: time 0.01257/0.9756, allocations: 6.559 MB / 1.175 GB, free: 6.055 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.90004473598674]