Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001369/0.001369, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001413/0.001413, allocations: 192.6 kB / 22.17 MB, free: 5.656 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.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.14 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.Utilities.Time.Validation.CalendarTimeMonths,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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 63.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9792/0.9821, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003144/0.9852, allocations: 1.53 MB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.9866, allocations: 0.5476 MB / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.9866, allocations: 0 / 1.276 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.9868, allocations: 7.875 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.9869, allocations: 27.84 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.9877, allocations: 310.6 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.9882, allocations: 491.4 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.794e-05/0.9883, allocations: 0 / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003825/0.9886, allocations: 279.6 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.9889, allocations: 143.4 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.989, allocations: 28 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.028e-05/0.9891, allocations: 28 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.9892, allocations: 119.6 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.9894, allocations: 183 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.9899, allocations: 433 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.9899, allocations: 0 / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9899, allocations: 7.938 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9899, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 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.001361/0.9913, allocations: 0.8743 MB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.9913, allocations: 11.97 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.9914, allocations: 56.69 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.9919, allocations: 318.5 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.9919, allocations: 20.36 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-05/0.992, allocations: 20.38 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.9931, allocations: 214 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.9931, allocations: 192 / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.9932, allocations: 7.938 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.9932, allocations: 4 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008506/0.994, allocations: 103.9 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.9945, allocations: 389.3 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.9956, allocations: 166.5 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/0.9964, allocations: 100.8 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.9965, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.9975, allocations: 223.1 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.9975, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002723/1, allocations: 489 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1, allocations: 63.39 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/1.001, allocations: 405.9 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.357e-05/1.001, allocations: 41.69 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.879e-05/1.001, allocations: 101.4 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/1.001, allocations: 43.67 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.001, allocations: 133.4 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.001, allocations: 322.8 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/1.002, allocations: 115.9 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/1.002, allocations: 175.4 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/1.002, allocations: 275.8 kB / 1.282 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.002, allocations: 4 kB / 1.282 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008765/1.003, allocations: 0.4889 MB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.003, allocations: 93.19 kB / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/1.003, allocations: 0 / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.003, allocations: 4 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/1.003, allocations: 19.98 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.003, allocations: 7.938 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/1.004, allocations: 60.03 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.004, allocations: 63.97 kB / 1.283 GB, free: 10.77 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.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.0002401/1.004, allocations: 191.9 kB / 1.283 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/1.004, allocations: 43.7 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.396e-05/1.004, allocations: 43.73 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.004, allocations: 3.984 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.004, allocations: 0 / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.004, allocations: 7.938 kB / 1.283 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.007, allocations: 0.743 MB / 1.284 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.007, allocations: 0 / 1.284 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/1.007, allocations: 11.98 kB / 1.284 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.007, allocations: 3.938 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/1.007, allocations: 15.98 kB / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.007, allocations: 0 / 1.284 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.007, allocations: 4 kB / 1.284 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/1.009, allocations: 477 kB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/1.009, allocations: 204.7 kB / 1.285 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/1.009, allocations: 11.98 kB / 1.285 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005052/1.01, allocations: 31.97 kB / 1.285 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/1.01, allocations: 7.984 kB / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-05/1.01, allocations: 55.98 kB / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000312/1.01, allocations: 299.1 kB / 1.285 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/1.01, allocations: 0 / 1.285 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003594/1.01, allocations: 67.98 kB / 1.285 GB, free: 8.477 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001687/1.011, allocations: 119.7 kB / 1.285 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001326/1.012, allocations: 408 kB / 1.286 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.012, allocations: 0 / 1.286 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008011/1.013, allocations: 115.8 kB / 1.286 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/1.013, allocations: 31.55 kB / 1.286 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/1.015, allocations: 0.5515 MB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/1.015, allocations: 0.7825 MB / 1.287 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.28e-05/1.015, allocations: 13.08 kB / 1.287 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/1.015, allocations: 15.44 kB / 1.287 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/1.015, allocations: 4 kB / 1.287 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of Templates: time 0.009458/1.025, allocations: 4.989 MB / 1.292 GB, free: 1.27 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.191718754824251]