Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00156/0.00156, allocations: 110 kB / 18.93 MB, free: 2.945 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.001948/0.001948, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.422/1.422, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.89 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.8035, allocations: 160.8 MB / 1.218 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002773/0.8063, allocations: 1.524 MB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.8076, allocations: 0.5503 MB / 1.22 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.484e-05/0.8077, allocations: 1.031 kB / 1.22 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.8078, allocations: 13.23 kB / 1.22 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.8079, allocations: 30.84 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008207/0.8087, allocations: 320.4 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.8093, allocations: 482.3 kB / 1.221 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.8094, allocations: 7.078 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.8098, allocations: 283.3 kB / 1.222 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.8101, allocations: 140 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.8102, allocations: 26.84 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-05/0.8103, allocations: 30.47 kB / 1.222 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.8104, allocations: 115.8 kB / 1.222 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.8106, allocations: 186.5 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004953/0.8111, allocations: 432.6 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8111, allocations: 1.281 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8111, allocations: 3.938 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8111, allocations: 0 / 1.222 GB, free: 0.793 MB / 0.92 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.001356/0.8125, allocations: 0.8739 MB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.8125, allocations: 9.781 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.8126, allocations: 50.27 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.8131, allocations: 321.4 kB / 1.224 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.8132, allocations: 23.09 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.8132, allocations: 26.45 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/0.8142, allocations: 212.3 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8142, allocations: 192 / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.8142, allocations: 9.281 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8142, allocations: 2.469 kB / 1.224 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.815, allocations: 102.8 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.8155, allocations: 387.2 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.8165, allocations: 166.5 kB / 1.225 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.8172, allocations: 99.44 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.8172, allocations: 2.344 kB / 1.225 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009531/0.8182, allocations: 230.5 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.8182, allocations: 0 / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002515/0.8207, allocations: 493.2 kB / 1.225 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.8207, allocations: 59.64 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.8212, allocations: 414.1 kB / 1.226 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.8212, allocations: 41 kB / 1.226 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.8213, allocations: 92.11 kB / 1.226 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.8214, allocations: 42.55 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.8216, allocations: 126.9 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.8217, allocations: 325.9 kB / 1.226 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.822, allocations: 116.5 kB / 1.227 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.8223, allocations: 177.6 kB / 1.227 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.8227, allocations: 275.1 kB / 1.227 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8227, allocations: 1.094 kB / 1.227 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008229/0.8235, allocations: 491 kB / 1.227 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.539e-05/0.8236, allocations: 95.42 kB / 1.227 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8236, allocations: 2.75 kB / 1.227 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.8236, allocations: 2.812 kB / 1.227 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.8238, allocations: 22.3 kB / 1.228 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.8238, allocations: 2.5 kB / 1.228 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.8243, allocations: 65.33 kB / 1.228 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.8244, allocations: 64.95 kB / 1.228 GB, free: 12.98 MB / 0.9356 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.0002568/0.8246, allocations: 199.9 kB / 1.228 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.8247, allocations: 41.23 kB / 1.228 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.8247, allocations: 39.69 kB / 1.228 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.8248, allocations: 6.219 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8248, allocations: 0 / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8248, allocations: 3.984 kB / 1.228 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.827, allocations: 0.7493 MB / 1.229 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.827, allocations: 4 kB / 1.229 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.827, allocations: 4.562 kB / 1.229 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.827, allocations: 0 / 1.229 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.827, allocations: 21.03 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.827, allocations: 4 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.827, allocations: 5.531 kB / 1.229 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.8287, allocations: 479.6 kB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.8291, allocations: 200.7 kB / 1.229 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.8291, allocations: 12 kB / 1.229 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.8296, allocations: 31.95 kB / 1.229 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.8296, allocations: 11.98 kB / 1.229 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.412e-05/0.8297, allocations: 55.97 kB / 1.229 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003289/0.83, allocations: 295.1 kB / 1.23 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.83, allocations: 0 / 1.23 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004066/0.8304, allocations: 68 kB / 1.23 GB, free: 11.21 MB / 0.9356 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.0001706/0.8306, allocations: 120.9 kB / 1.23 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.8319, allocations: 413.3 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8319, allocations: 3.938 kB / 1.23 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.8326, allocations: 116.2 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.833, allocations: 29.58 kB / 1.23 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.8345, allocations: 0.543 MB / 1.231 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.8349, allocations: 0.7669 MB / 1.232 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.433e-05/0.835, allocations: 17.08 kB / 1.232 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.835, allocations: 23.42 kB / 1.232 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.835, allocations: 0 / 1.232 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.009898/0.8449, allocations: 5.103 MB / 1.237 GB, free: 3.898 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.502414145506918]