Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 200.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002901/0.002901, allocations: 63.89 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8323, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003294/0.8356, allocations: 1.75 MB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.8371, allocations: 0.6358 MB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.8372, allocations: 4 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.8373, allocations: 15.8 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.8375, allocations: 27.86 kB / 1.276 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000972/0.8385, allocations: 367.2 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008326/0.8393, allocations: 0.597 MB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.8394, allocations: 25.09 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.8399, allocations: 311.5 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.8403, allocations: 159.4 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.8404, allocations: 40 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.8405, allocations: 40 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.8407, allocations: 123.6 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000236/0.8409, allocations: 227 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006935/0.8416, allocations: 0.5984 MB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.8416, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8416, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.8416, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 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.001676/0.8433, allocations: 0.9207 MB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.8434, allocations: 8.031 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.8435, allocations: 56.66 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.8441, allocations: 342.5 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.8442, allocations: 20.38 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-05/0.8443, allocations: 36.36 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.8454, allocations: 236.7 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.8454, allocations: 192 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.8455, allocations: 7.938 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.8455, allocations: 0 / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.8463, allocations: 119.9 kB / 1.281 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.8479, allocations: 0.672 MB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.8491, allocations: 174.4 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.8499, allocations: 104.8 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.85, allocations: 4 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.8511, allocations: 239 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.8511, allocations: 0 / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002877/0.854, allocations: 497.2 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.854, allocations: 67.33 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.8546, allocations: 445.9 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.8546, allocations: 37.7 kB / 1.283 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.8548, allocations: 105.4 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.8548, allocations: 43.73 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002353/0.855, allocations: 133.4 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8552, allocations: 330.8 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/0.8555, allocations: 135.9 kB / 1.283 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.8558, allocations: 197.9 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004367/0.8563, allocations: 289.2 kB / 1.284 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.8563, allocations: 4 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009495/0.8572, allocations: 0.5299 MB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.8573, allocations: 95.38 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8573, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.8574, allocations: 7.938 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.8575, allocations: 23.92 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8576, allocations: 4 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.8581, allocations: 56.09 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-05/0.8582, allocations: 63.97 kB / 1.285 GB, free: 9.398 MB / 0.9825 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.0003027/0.8585, allocations: 224.2 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.8586, allocations: 35.77 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.3e-05/0.8586, allocations: 47.78 kB / 1.285 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.8586, allocations: 0 / 1.285 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8586, allocations: 4 kB / 1.285 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.8587, allocations: 0 / 1.285 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.8612, allocations: 0.7896 MB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8612, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.8612, allocations: 8 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.8612, allocations: 4 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.8613, allocations: 19.97 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.8613, allocations: 3.938 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8613, allocations: 4 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.8633, allocations: 483.4 kB / 1.286 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.8637, allocations: 244.6 kB / 1.286 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.661e-05/0.8638, allocations: 23.92 kB / 1.286 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/0.8643, allocations: 35.91 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.8643, allocations: 7.984 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/0.8644, allocations: 59.97 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000369/0.8648, allocations: 319.1 kB / 1.287 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8648, allocations: 3.938 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003792/0.8651, allocations: 75.94 kB / 1.287 GB, free: 6.938 MB / 0.9825 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.0002143/0.8654, allocations: 135.6 kB / 1.287 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.8668, allocations: 430.5 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.8668, allocations: 4 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.8676, allocations: 114.4 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.868, allocations: 38.2 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.8698, allocations: 0.6293 MB / 1.288 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.8703, allocations: 0.7825 MB / 1.289 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.889e-05/0.8703, allocations: 13.44 kB / 1.289 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.8704, allocations: 19.42 kB / 1.289 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.8704, allocations: 0 / 1.289 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of Templates: time 0.01086/0.8813, allocations: 5.47 MB / 1.294 GB, free: 15.13 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.90811989409849]