Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.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.001802/0.001802, allocations: 110.5 kB / 17.6 MB, free: 4.688 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.002161/0.002161, allocations: 190.8 kB / 20.78 MB, free: 1.516 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.507/1.507, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.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.763/2.763, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 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.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.107 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002767/1.057, allocations: 1.544 MB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001296/1.058, allocations: 0.5428 MB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/1.058, allocations: 1 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/1.058, allocations: 12.47 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/1.058, allocations: 25.3 kB / 1.274 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/1.059, allocations: 307.3 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005672/1.06, allocations: 489.5 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/1.06, allocations: 4.297 kB / 1.275 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/1.06, allocations: 274.1 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/1.06, allocations: 147 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/1.06, allocations: 27.06 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/1.06, allocations: 30.09 kB / 1.275 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/1.061, allocations: 116.8 kB / 1.275 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001964/1.061, allocations: 185.1 kB / 1.276 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004802/1.061, allocations: 432.2 kB / 1.276 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.061, allocations: 0.8438 kB / 1.276 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/1.061, allocations: 0 / 1.276 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.061, allocations: 0 / 1.276 GB, free: 5.723 MB / 0.9981 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.001175/1.062, allocations: 0.8628 MB / 1.277 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.062, allocations: 10.31 kB / 1.277 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/1.063, allocations: 51.86 kB / 1.277 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/1.063, allocations: 321.1 kB / 1.277 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.946e-05/1.063, allocations: 17.83 kB / 1.277 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-05/1.063, allocations: 32.83 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009568/1.064, allocations: 212.2 kB / 1.277 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.064, allocations: 192 / 1.277 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/1.064, allocations: 12.03 kB / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.064, allocations: 1.844 kB / 1.277 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007306/1.065, allocations: 104.1 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/1.065, allocations: 387.1 kB / 1.278 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.066, allocations: 159.9 kB / 1.278 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/1.067, allocations: 104.1 kB / 1.278 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/1.067, allocations: 5.656 kB / 1.278 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009771/1.068, allocations: 235.6 kB / 1.278 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/1.068, allocations: 0 / 1.278 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002561/1.071, allocations: 486 kB / 1.279 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/1.071, allocations: 61.5 kB / 1.279 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/1.071, allocations: 412.2 kB / 1.279 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/1.071, allocations: 43.72 kB / 1.279 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/1.071, allocations: 95.25 kB / 1.279 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/1.071, allocations: 41.14 kB / 1.279 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/1.072, allocations: 128.5 kB / 1.28 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/1.072, allocations: 327.9 kB / 1.28 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/1.072, allocations: 121.3 kB / 1.28 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/1.072, allocations: 171.5 kB / 1.28 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/1.073, allocations: 277.6 kB / 1.28 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.073, allocations: 0.6875 kB / 1.28 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007869/1.073, allocations: 488.7 kB / 1.281 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.727e-05/1.073, allocations: 98.59 kB / 1.281 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.073, allocations: 0 / 1.281 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.073, allocations: 3.562 kB / 1.281 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/1.074, allocations: 24.36 kB / 1.281 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/1.074, allocations: 2.531 kB / 1.281 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/1.074, allocations: 62.88 kB / 1.281 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.024e-05/1.074, allocations: 61.22 kB / 1.281 GB, free: 2.602 MB / 0.9981 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002193/1.074, allocations: 197.5 kB / 1.281 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/1.074, allocations: 41.23 kB / 1.281 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.797e-05/1.075, allocations: 41.34 kB / 1.281 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.075, allocations: 4.75 kB / 1.281 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.075, allocations: 0 / 1.281 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.075, allocations: 1.547 kB / 1.281 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/1.077, allocations: 0.7469 MB / 1.282 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/1.077, allocations: 3.984 kB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/1.077, allocations: 5.391 kB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.077, allocations: 0 / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/1.077, allocations: 19.09 kB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.077, allocations: 0.875 kB / 1.282 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.077, allocations: 7.984 kB / 1.282 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/1.078, allocations: 476.1 kB / 1.283 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/1.079, allocations: 209.2 kB / 1.283 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/1.079, allocations: 9.219 kB / 1.283 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/1.079, allocations: 34.05 kB / 1.283 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/1.079, allocations: 15.52 kB / 1.283 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/1.079, allocations: 55.17 kB / 1.283 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002913/1.079, allocations: 292.9 kB / 1.283 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.079, allocations: 0.5312 kB / 1.283 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003703/1.08, allocations: 70.03 kB / 1.283 GB, free: 1.492 MB / 0.9981 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001346/1.08, allocations: 123.4 kB / 1.283 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.081, allocations: 408.9 kB / 1.284 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.081, allocations: 0 / 1.284 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000693/1.082, allocations: 114.1 kB / 1.284 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/1.082, allocations: 32 kB / 1.284 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/1.084, allocations: 0.5626 MB / 1.284 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/1.084, allocations: 0.7677 MB / 1.285 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.147e-05/1.084, allocations: 15.39 kB / 1.285 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/1.084, allocations: 19.27 kB / 1.285 GB, free: 124 kB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.084, allocations: 2.094 kB / 1.285 GB, free: 124 kB / 0.9981 GB Notification: Performance of Templates: time 0.0106/1.095, allocations: 5.077 MB / 1.29 GB, free: 15.2 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 10.031005680561066]