Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 107.8 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002886/0.002886, allocations: 216.2 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.218/3.218, allocations: 0.4899 GB / 0.7915 GB, free: 33.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 83.05 kB / 1.149 GB, free: 26.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002875/0.3602, allocations: 1.533 MB / 1.323 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.3616, allocations: 0.5422 MB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.3616, allocations: 3.938 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.3617, allocations: 11.86 kB / 1.323 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3618, allocations: 27.86 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.3627, allocations: 315.3 kB / 1.324 GB, free: 424 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.3632, allocations: 475.6 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3633, allocations: 7.984 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000396/0.3637, allocations: 283.5 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.364, allocations: 151.4 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.3641, allocations: 28 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.3641, allocations: 24 kB / 1.325 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.3643, allocations: 111.7 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.3645, allocations: 187 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005038/0.365, allocations: 426.4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.365, allocations: 4 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.365, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.365, allocations: 0 / 1.325 GB, free: 14.75 MB / 1.029 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.00138/0.3664, allocations: 0.8758 MB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3664, allocations: 19.92 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.3666, allocations: 56.69 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.367, allocations: 310.6 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.367, allocations: 20.36 kB / 1.326 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.3671, allocations: 28.36 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3682, allocations: 206 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3682, allocations: 192 / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.3682, allocations: 11.92 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3683, allocations: 7.938 kB / 1.327 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008578/0.3691, allocations: 99.92 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.3696, allocations: 385.2 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.3708, allocations: 166.4 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009088/0.3717, allocations: 108.8 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3717, allocations: 0 / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001165/0.3729, allocations: 226.3 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.3729, allocations: 0 / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.003064/0.376, allocations: 497 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.376, allocations: 55.41 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.3765, allocations: 417.9 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.3766, allocations: 37.7 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3767, allocations: 97.44 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.3768, allocations: 43.67 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.377, allocations: 129.5 kB / 1.329 GB, free: 10.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3772, allocations: 318.8 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.3775, allocations: 123.9 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.3778, allocations: 161.9 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.3782, allocations: 283 kB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3782, allocations: 3.938 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009282/0.3792, allocations: 488.7 kB / 1.33 GB, free: 9.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.972e-05/0.3793, allocations: 97.34 kB / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3793, allocations: 0 / 1.33 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.3793, allocations: 7.984 kB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3795, allocations: 23.91 kB / 1.33 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3795, allocations: 4 kB / 1.33 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.38, allocations: 64.03 kB / 1.33 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.3801, allocations: 55.98 kB / 1.33 GB, free: 9.082 MB / 1.029 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.0002478/0.3804, allocations: 196.6 kB / 1.331 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.098e-05/0.3804, allocations: 47.64 kB / 1.331 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.947e-05/0.3805, allocations: 39.75 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3805, allocations: 0 / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3805, allocations: 0 / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3805, allocations: 0 / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002548/0.3831, allocations: 0.756 MB / 1.331 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3831, allocations: 0 / 1.331 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.3831, allocations: 4 kB / 1.331 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.3831, allocations: 4 kB / 1.331 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.3832, allocations: 23.97 kB / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3832, allocations: 0 / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3832, allocations: 0 / 1.331 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.3852, allocations: 485.9 kB / 1.332 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.3855, allocations: 200.7 kB / 1.332 GB, free: 7.246 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.832e-05/0.3855, allocations: 16 kB / 1.332 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.3861, allocations: 31.95 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3861, allocations: 4 kB / 1.332 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.3862, allocations: 59.97 kB / 1.332 GB, free: 7.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003472/0.3865, allocations: 295.1 kB / 1.332 GB, free: 6.848 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3865, allocations: 4 kB / 1.332 GB, free: 6.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004386/0.387, allocations: 67.98 kB / 1.333 GB, free: 6.777 MB / 1.029 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.0001901/0.3872, allocations: 116.9 kB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.3886, allocations: 406.7 kB / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3886, allocations: 4.062 kB / 1.333 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.3895, allocations: 111.9 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.39, allocations: 31.91 kB / 1.333 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.3917, allocations: 0.5512 MB / 1.334 GB, free: 5.504 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.3921, allocations: 0.7785 MB / 1.334 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.978e-05/0.3922, allocations: 13.06 kB / 1.335 GB, free: 4.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.3923, allocations: 15.44 kB / 1.335 GB, free: 4.668 MB / 1.029 GB Notification: Performance of SimCode: time 7.11e-07/0.3923, allocations: 0 / 1.335 GB, free: 4.668 MB / 1.029 GB Notification: Performance of Templates: time 0.01067/0.4029, allocations: 5.032 MB / 1.339 GB, free: 15.54 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.861440300010145]