Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.0009058/0.0009058, 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.0008573/0.0008573, 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.9307/0.9307, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.9822 GB, free: 2.145 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.652e-05, allocations: 5.375 kB / 0.9822 GB, free: 2.141 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00186/0.001887, allocations: 1.518 MB / 0.9836 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009235/0.00281, allocations: 0.5288 MB / 0.9842 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.002864, allocations: 8 kB / 0.9842 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.27e-05/0.002956, allocations: 7.875 kB / 0.9842 GB, free: 68 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.003062, allocations: 31.8 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.003682, allocations: 323.6 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.004293, allocations: 491.4 kB / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.004331, allocations: 0 / 0.985 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.004668, allocations: 359.6 kB / 0.9853 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.00486, allocations: 127.8 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.004909, allocations: 28 kB / 0.9855 GB, free: 14.74 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.885e-05/0.004957, allocations: 24 kB / 0.9855 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.005056, allocations: 123.6 kB / 0.9856 GB, free: 14.59 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.005161, allocations: 131.7 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.005512, allocations: 458.8 kB / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.005515, allocations: 0 / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.005516, allocations: 0 / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.005522, allocations: 0 / 0.9862 GB, free: 14.02 MB / 0.948 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.0008683/0.00639, allocations: 0.8105 MB / 0.987 GB, free: 13.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.006428, allocations: 15.97 kB / 0.987 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.828e-05/0.006516, allocations: 48.7 kB / 0.987 GB, free: 13.07 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.006792, allocations: 252.1 kB / 0.9873 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.006834, allocations: 20.36 kB / 0.9873 GB, free: 12.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.006882, allocations: 24.38 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.007424, allocations: 226 kB / 0.9875 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.007432, allocations: 4.188 kB / 0.9875 GB, free: 12.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.007453, allocations: 4.375 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.007459, allocations: 4.375 kB / 0.9875 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003704/0.007829, allocations: 115.8 kB / 0.9876 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.008092, allocations: 292.9 kB / 0.9879 GB, free: 12.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.008629, allocations: 182.5 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.008985, allocations: 112.8 kB / 0.9882 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.009009, allocations: 7.984 kB / 0.9882 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/0.009531, allocations: 235.2 kB / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.009532, allocations: 0 / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.00131/0.01084, allocations: 0.531 MB / 0.989 GB, free: 11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.01088, allocations: 55.41 kB / 0.989 GB, free: 10.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.01117, allocations: 417.8 kB / 0.9894 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.01121, allocations: 37.7 kB / 0.9894 GB, free: 10.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.01126, allocations: 97.44 kB / 0.9895 GB, free: 10.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.0113, allocations: 35.75 kB / 0.9896 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.01142, allocations: 125.5 kB / 0.9897 GB, free: 10.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.0115, allocations: 318.8 kB / 0.99 GB, free: 9.891 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.0117, allocations: 203.2 kB / 0.9902 GB, free: 9.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.01192, allocations: 249.3 kB / 0.9904 GB, free: 9.402 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.01217, allocations: 271.7 kB / 0.9907 GB, free: 9.105 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01217, allocations: 0 / 0.9907 GB, free: 9.105 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005444/0.01272, allocations: 0.5625 MB / 0.9912 GB, free: 8.512 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.01277, allocations: 83.31 kB / 0.9913 GB, free: 8.418 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01278, allocations: 11.92 kB / 0.9913 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01279, allocations: 0 / 0.9913 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.0129, allocations: 23.98 kB / 0.9914 GB, free: 8.383 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.01291, allocations: 11.88 kB / 0.9914 GB, free: 8.371 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.01316, allocations: 60.09 kB / 0.9914 GB, free: 8.312 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.01322, allocations: 67.91 kB / 0.9915 GB, free: 8.246 MB / 0.948 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0001736/0.01339, allocations: 199.7 kB / 0.9917 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.01343, allocations: 39.77 kB / 0.9917 GB, free: 8.004 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.01349, allocations: 35.69 kB / 0.9917 GB, free: 7.969 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.0135, allocations: 4 kB / 0.9918 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.0135, allocations: 0 / 0.9918 GB, free: 7.965 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01351, allocations: 7.922 kB / 0.9918 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.01496, allocations: 0.7129 MB / 0.9925 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01496, allocations: 0 / 0.9925 GB, free: 7.203 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.01498, allocations: 4 kB / 0.9925 GB, free: 7.199 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.01499, allocations: 4 kB / 0.9925 GB, free: 7.195 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.01501, allocations: 31.84 kB / 0.9925 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.01502, allocations: 0 / 0.9925 GB, free: 7.164 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01502, allocations: 4 kB / 0.9925 GB, free: 7.16 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008659/0.01588, allocations: 0.4917 MB / 0.993 GB, free: 6.652 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.01606, allocations: 141.4 kB / 0.9931 GB, free: 6.516 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.0161, allocations: 15.94 kB / 0.9931 GB, free: 6.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.01633, allocations: 39.97 kB / 0.9932 GB, free: 6.461 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.01636, allocations: 7.984 kB / 0.9932 GB, free: 6.453 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.0164, allocations: 59.97 kB / 0.9932 GB, free: 6.395 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001886/0.01659, allocations: 295.1 kB / 0.9935 GB, free: 6.113 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01659, allocations: 0 / 0.9935 GB, free: 6.113 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002373/0.01683, allocations: 67.98 kB / 0.9936 GB, free: 6.047 MB / 0.948 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0001137/0.01694, allocations: 117.4 kB / 0.9937 GB, free: 5.926 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007269/0.01767, allocations: 493.6 kB / 0.9942 GB, free: 5.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01767, allocations: 4 kB / 0.9942 GB, free: 5.406 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.01804, allocations: 119.9 kB / 0.9943 GB, free: 5.289 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.0183, allocations: 30 kB / 0.9943 GB, free: 5.258 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.01922, allocations: 0.6171 MB / 0.9949 GB, free: 4.605 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.01933, allocations: 166.8 kB / 0.9951 GB, free: 4.426 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.01937, allocations: 16.5 kB / 0.9951 GB, free: 4.41 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/0.01937, allocations: 0 / 0.9951 GB, free: 4.41 MB / 0.948 GB Notification: Performance of Templates: time 0.004156/0.02353, allocations: 3.694 MB / 0.9987 GB, free: 0.6602 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 6.987438125535846]