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.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.0008486/0.0008486, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008125/0.0008125, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.9259/0.9259, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.651/1.651, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.693e-06/1.693e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.639e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002139/0.002165, allocations: 1.533 MB / 0.9532 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.003174, allocations: 0.5269 MB / 0.9537 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.173e-05/0.003236, allocations: 3.938 kB / 0.9537 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.003335, allocations: 7.922 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.003453, allocations: 31.8 kB / 0.9537 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.004117, allocations: 318.1 kB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.004499, allocations: 491.4 kB / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.004543, allocations: 0 / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.004918, allocations: 355.6 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.00513, allocations: 127.8 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/0.005182, allocations: 28 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.848e-05/0.005231, allocations: 24 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.005349, allocations: 123.6 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.00546, allocations: 127.7 kB / 0.9553 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.005844, allocations: 458.8 kB / 0.9557 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.005849, allocations: 3.938 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.134e-06/0.005851, allocations: 0 / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.005858, allocations: 3.938 kB / 0.9557 GB, free: 14.89 MB / 0.9167 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.0008846/0.006743, allocations: 0.8067 MB / 0.9565 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.006782, allocations: 12.03 kB / 0.9565 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.006868, allocations: 48.7 kB / 0.9565 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.007157, allocations: 260 kB / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/0.007197, allocations: 20.36 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.007242, allocations: 24.38 kB / 0.9568 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.007772, allocations: 226 kB / 0.9571 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.00778, allocations: 4.188 kB / 0.9571 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.0078, allocations: 4.375 kB / 0.9571 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.007806, allocations: 4.375 kB / 0.9571 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.008164, allocations: 121.7 kB / 0.9572 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.008445, allocations: 285 kB / 0.9575 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.00896, allocations: 182.4 kB / 0.9576 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.009311, allocations: 116.8 kB / 0.9577 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.009336, allocations: 0 / 0.9577 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005137/0.00985, allocations: 239.2 kB / 0.958 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.009852, allocations: 0 / 0.958 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.001249/0.0111, allocations: 0.5283 MB / 0.9585 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.01114, allocations: 55.41 kB / 0.9585 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.01169, allocations: 417.8 kB / 0.9589 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.01173, allocations: 41.64 kB / 0.959 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.01178, allocations: 101.4 kB / 0.9591 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.01182, allocations: 35.75 kB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.01193, allocations: 125.5 kB / 0.9592 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.046e-05/0.01201, allocations: 318.8 kB / 0.9595 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.01222, allocations: 203.3 kB / 0.9597 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.01242, allocations: 241.3 kB / 0.9599 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.01266, allocations: 271.3 kB / 0.9602 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01266, allocations: 0 / 0.9602 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005304/0.01319, allocations: 0.5605 MB / 0.9608 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.01325, allocations: 83.36 kB / 0.9608 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.01326, allocations: 7.984 kB / 0.9608 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.01328, allocations: 0 / 0.9608 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.0134, allocations: 27.92 kB / 0.9609 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.01341, allocations: 7.938 kB / 0.9609 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.01364, allocations: 68.05 kB / 0.9609 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.0137, allocations: 63.91 kB / 0.961 GB, free: 9.129 MB / 0.9167 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.0001626/0.01387, allocations: 201.7 kB / 0.9612 GB, free: 8.926 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.0139, allocations: 35.77 kB / 0.9612 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.01395, allocations: 39.69 kB / 0.9613 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.01396, allocations: 7.984 kB / 0.9613 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.01396, allocations: 3.938 kB / 0.9613 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01397, allocations: 3.938 kB / 0.9613 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.01515, allocations: 0.7117 MB / 0.962 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01516, allocations: 4 kB / 0.962 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.01518, allocations: 0 / 0.962 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.01518, allocations: 4 kB / 0.962 GB, free: 8.082 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.01521, allocations: 27.91 kB / 0.962 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01521, allocations: 0 / 0.962 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01521, allocations: 0 / 0.962 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.01605, allocations: 0.4995 MB / 0.9625 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.01623, allocations: 137.5 kB / 0.9626 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.01627, allocations: 15.94 kB / 0.9626 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.01649, allocations: 39.97 kB / 0.9627 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.01652, allocations: 7.984 kB / 0.9627 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.01656, allocations: 59.97 kB / 0.9627 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001938/0.01676, allocations: 295.1 kB / 0.963 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01676, allocations: 0 / 0.963 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000241/0.017, allocations: 67.98 kB / 0.9631 GB, free: 6.926 MB / 0.9167 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.0001372/0.01713, allocations: 118 kB / 0.9632 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007107/0.01784, allocations: 493.9 kB / 0.9637 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.01785, allocations: 0 / 0.9637 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.0182, allocations: 127.8 kB / 0.9638 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01846, allocations: 37.38 kB / 0.9638 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.01936, allocations: 0.6067 MB / 0.9644 GB, free: 5.488 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.01947, allocations: 171 kB / 0.9646 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.01951, allocations: 16.48 kB / 0.9646 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.01951, allocations: 0 / 0.9646 GB, free: 5.281 MB / 0.9167 GB Notification: Performance of Templates: time 0.004203/0.02371, allocations: 3.742 MB / 0.9683 GB, free: 1.477 MB / 0.9167 GB " [Timeout remaining time 300] 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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.417316469363868]