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.00182/0.00182, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00226/0.00226, allocations: 157.3 kB / 23 MB, free: 4.605 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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 2.785/2.785, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002098/0.002098, allocations: 70.09 kB / 0.9819 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.9146, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002364/0.917, allocations: 1.527 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.9181, allocations: 0.5225 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.9181, allocations: 0 / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.945e-05/0.9182, allocations: 15.25 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.9183, allocations: 30.28 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006787/0.919, allocations: 315.9 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.9194, allocations: 485.8 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.9195, allocations: 5.375 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.9198, allocations: 286.9 kB / 1.157 GB, free: 31.47 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.92, allocations: 137.2 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.142e-05/0.9201, allocations: 26.84 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.9202, allocations: 24.81 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.9203, allocations: 118.7 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.9204, allocations: 155.8 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.9207, allocations: 426.5 kB / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9207, allocations: 0 / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9207, allocations: 2.938 kB / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9207, allocations: 3.234 kB / 1.158 GB, free: 31.15 MB / 1.076 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.00098/0.9217, allocations: 0.8009 MB / 1.159 GB, free: 30.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.9218, allocations: 11.53 kB / 1.159 GB, free: 30.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.9219, allocations: 48.86 kB / 1.159 GB, free: 30.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.9222, allocations: 264.8 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.893e-05/0.9223, allocations: 17.41 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.9223, allocations: 25.3 kB / 1.159 GB, free: 30.26 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008983/0.9232, allocations: 229.8 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9232, allocations: 192 / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.9233, allocations: 15.22 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.9233, allocations: 3.406 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.924, allocations: 107.5 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.9242, allocations: 280 kB / 1.16 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.9252, allocations: 185 kB / 1.16 GB, free: 29.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/0.9259, allocations: 118 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.9259, allocations: 3.375 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008543/0.9268, allocations: 242.4 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.9268, allocations: 0 / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002364/0.9291, allocations: 0.5245 MB / 1.161 GB, free: 29.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.9292, allocations: 57.16 kB / 1.161 GB, free: 29.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.9295, allocations: 417.5 kB / 1.161 GB, free: 29.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.9295, allocations: 41.92 kB / 1.161 GB, free: 29.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.9296, allocations: 101.5 kB / 1.161 GB, free: 29.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.9296, allocations: 40.8 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.9297, allocations: 126.8 kB / 1.161 GB, free: 29.24 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.172e-05/0.9298, allocations: 325.1 kB / 1.162 GB, free: 28.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.9301, allocations: 191.7 kB / 1.162 GB, free: 28.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.9303, allocations: 248.4 kB / 1.162 GB, free: 28.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.9306, allocations: 277.6 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.9306, allocations: 0 / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006938/0.9313, allocations: 0.5581 MB / 1.163 GB, free: 28.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.9314, allocations: 81.47 kB / 1.163 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.9314, allocations: 6.875 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.9314, allocations: 6.594 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.9316, allocations: 21.25 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.9316, allocations: 2.875 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.932, allocations: 64.28 kB / 1.163 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.9321, allocations: 64.08 kB / 1.163 GB, free: 28.07 MB / 1.076 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.0001632/0.9323, allocations: 203.5 kB / 1.163 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.9323, allocations: 46.2 kB / 1.163 GB, free: 27.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.9324, allocations: 45.75 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9324, allocations: 0 / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9324, allocations: 6.438 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9324, allocations: 0 / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.9343, allocations: 0.7027 MB / 1.164 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9343, allocations: 6.562 kB / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.214e-05/0.9344, allocations: 6.625 kB / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.9344, allocations: 0 / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.9344, allocations: 19.83 kB / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9344, allocations: 2.625 kB / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9344, allocations: 0 / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.936, allocations: 0.5146 MB / 1.165 GB, free: 27.33 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.9362, allocations: 129 kB / 1.165 GB, free: 27.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.9363, allocations: 15.88 kB / 1.165 GB, free: 27.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.9368, allocations: 33.47 kB / 1.165 GB, free: 27.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.9368, allocations: 12.7 kB / 1.165 GB, free: 27.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-05/0.9369, allocations: 60.08 kB / 1.165 GB, free: 27.26 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002157/0.9371, allocations: 295.7 kB / 1.165 GB, free: 27.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9371, allocations: 0 / 1.165 GB, free: 27.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003302/0.9374, allocations: 65.17 kB / 1.165 GB, free: 27.12 MB / 1.076 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.0001121/0.9375, allocations: 124.7 kB / 1.165 GB, free: 27.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.9387, allocations: 490.4 kB / 1.166 GB, free: 26.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9387, allocations: 0 / 1.166 GB, free: 26.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.9394, allocations: 130 kB / 1.166 GB, free: 26.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.9398, allocations: 29.69 kB / 1.166 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.9411, allocations: 0.5686 MB / 1.166 GB, free: 26.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.9412, allocations: 176.6 kB / 1.167 GB, free: 26.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.43e-05/0.9413, allocations: 12.3 kB / 1.167 GB, free: 26.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.9413, allocations: 14.41 kB / 1.167 GB, free: 26.31 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.9413, allocations: 0 / 1.167 GB, free: 26.31 MB / 1.076 GB Notification: Performance of Templates: time 0.009535/0.9508, allocations: 6.13 MB / 1.173 GB, free: 24.99 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.645459205028601]