Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001745/0.001745, 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.002084/0.002084, allocations: 199.5 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.509/1.509, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.CalendarTimeMonthsMinus,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.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8196, allocations: 168.7 MB / 1.274 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003085/0.8227, allocations: 1.762 MB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.8242, allocations: 0.6241 MB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.727e-05/0.8242, allocations: 0 / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.8243, allocations: 19.8 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.8245, allocations: 31.78 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008901/0.8253, allocations: 362.4 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006618/0.826, allocations: 0.5931 MB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.8261, allocations: 25.09 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.8265, allocations: 315.6 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.8268, allocations: 163.3 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.8269, allocations: 40 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.827, allocations: 44 kB / 1.278 GB, free: 420 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.8272, allocations: 123.6 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.8274, allocations: 215 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006654/0.828, allocations: 0.5982 MB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.828, allocations: 4 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.828, allocations: 0 / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.8281, allocations: 0 / 1.279 GB, free: 15.48 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.00148/0.8295, allocations: 0.9209 MB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.8296, allocations: 12.03 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.8297, allocations: 56.66 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005199/0.8302, allocations: 338.5 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/0.8303, allocations: 20.36 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.8304, allocations: 28.38 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.8314, allocations: 233.9 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.8314, allocations: 8.188 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.8315, allocations: 11.92 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8315, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.8323, allocations: 111.9 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.8338, allocations: 0.6798 MB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/0.8348, allocations: 162.5 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000779/0.8356, allocations: 108.8 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.8356, allocations: 4 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.8367, allocations: 235 kB / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.8367, allocations: 0 / 1.282 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002625/0.8393, allocations: 0.4918 MB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.8394, allocations: 67.41 kB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.8399, allocations: 437.9 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.8399, allocations: 45.69 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.84, allocations: 105.3 kB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.8401, allocations: 43.73 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.8403, allocations: 137.4 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.8405, allocations: 326.8 kB / 1.283 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.8408, allocations: 135.9 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.8411, allocations: 189.9 kB / 1.284 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.8415, allocations: 307.5 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8415, allocations: 4 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009439/0.8425, allocations: 0.5201 MB / 1.284 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.774e-05/0.8426, allocations: 95.38 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8426, allocations: 0 / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.8426, allocations: 8.125 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.8428, allocations: 27.97 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8428, allocations: 0 / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.8433, allocations: 59.84 kB / 1.285 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.8434, allocations: 63.92 kB / 1.285 GB, free: 9.211 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.0002784/0.8437, allocations: 226.9 kB / 1.285 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.8437, allocations: 43.75 kB / 1.285 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.8438, allocations: 35.8 kB / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.8438, allocations: 0 / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8438, allocations: 0 / 1.285 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.8438, allocations: 4 kB / 1.285 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.8466, allocations: 0.7912 MB / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.8466, allocations: 0 / 1.286 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.8466, allocations: 7.984 kB / 1.286 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8466, allocations: 0 / 1.286 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.8466, allocations: 19.98 kB / 1.286 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.8467, allocations: 7.875 kB / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.8467, allocations: 0 / 1.286 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.8486, allocations: 479.5 kB / 1.286 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.849, allocations: 248.6 kB / 1.286 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.849, allocations: 16 kB / 1.286 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.8496, allocations: 35.91 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.8496, allocations: 11.98 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.8497, allocations: 55.97 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003524/0.85, allocations: 319.1 kB / 1.287 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.85, allocations: 7.875 kB / 1.287 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003809/0.8504, allocations: 71.94 kB / 1.287 GB, free: 6.762 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.0002266/0.8506, allocations: 135.7 kB / 1.287 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.852, allocations: 437.2 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.852, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008664/0.8529, allocations: 120.2 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.8533, allocations: 33.53 kB / 1.288 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.855, allocations: 0.6245 MB / 1.288 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.8555, allocations: 0.7825 MB / 1.289 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.997e-05/0.8555, allocations: 17.42 kB / 1.289 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.706e-05/0.8556, allocations: 19.42 kB / 1.289 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8556, allocations: 0 / 1.289 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.01076/0.8663, allocations: 5.479 MB / 1.294 GB, free: 14.95 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.872242142912]