Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001467/0.001467, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001586/0.001586, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.465/1.465, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.692/2.692, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.971e-05, allocations: 6.812 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002933/0.002963, allocations: 1.532 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.00438, allocations: 0.5212 MB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.512e-05/0.004426, allocations: 0.75 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.219e-05/0.004518, allocations: 7.875 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.004635, allocations: 36.59 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.005488, allocations: 320.5 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.006114, allocations: 485 kB / 0.7891 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.006153, allocations: 4 kB / 0.7892 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005704/0.006723, allocations: 355.6 kB / 0.7895 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.007018, allocations: 128.5 kB / 0.7896 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-05/0.007105, allocations: 28 kB / 0.7896 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.007189, allocations: 28 kB / 0.7897 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.007347, allocations: 120.3 kB / 0.7898 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.007539, allocations: 129.1 kB / 0.7899 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.008152, allocations: 462.7 kB / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.008155, allocations: 0 / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.008155, allocations: 0 / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.00816, allocations: 1.125 kB / 0.7903 GB, free: 8.734 MB / 0.7448 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.001417/0.009577, allocations: 0.8105 MB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.009625, allocations: 9.094 kB / 0.7911 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.009801, allocations: 60.7 kB / 0.7912 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.01024, allocations: 252 kB / 0.7914 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.01029, allocations: 17.58 kB / 0.7915 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.01038, allocations: 28.38 kB / 0.7915 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.0115, allocations: 227.4 kB / 0.7917 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.01151, allocations: 4.125 kB / 0.7917 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.01154, allocations: 7.219 kB / 0.7917 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.01155, allocations: 384 / 0.7917 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.01245, allocations: 123.8 kB / 0.7918 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.0129, allocations: 281 kB / 0.7921 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.01408, allocations: 180.8 kB / 0.7923 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008446/0.01493, allocations: 123.5 kB / 0.7924 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.01495, allocations: 4 kB / 0.7924 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.01606, allocations: 237 kB / 0.7926 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.01606, allocations: 3.938 kB / 0.7926 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.003564/0.01962, allocations: 0.5352 MB / 0.7931 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.01968, allocations: 63.39 kB / 0.7932 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.02018, allocations: 409.9 kB / 0.7936 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/0.02026, allocations: 46.22 kB / 0.7936 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.02036, allocations: 90.83 kB / 0.7937 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.02041, allocations: 35.75 kB / 0.7938 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.02065, allocations: 129.5 kB / 0.7939 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.02083, allocations: 318.8 kB / 0.7942 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.0212, allocations: 200.4 kB / 0.7944 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.02162, allocations: 249.2 kB / 0.7946 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.02208, allocations: 277.9 kB / 0.7949 GB, free: 3.828 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.02209, allocations: 4 kB / 0.7949 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001096/0.02319, allocations: 0.5833 MB / 0.7955 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.967e-05/0.02329, allocations: 79.38 kB / 0.7955 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.02329, allocations: 4.781 kB / 0.7955 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.02331, allocations: 0 / 0.7955 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.02349, allocations: 29.84 kB / 0.7956 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.02351, allocations: 11.92 kB / 0.7956 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.02406, allocations: 60.69 kB / 0.7956 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.02417, allocations: 63.97 kB / 0.7957 GB, free: 2.957 MB / 0.7448 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.000279/0.02445, allocations: 203.1 kB / 0.7959 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.02454, allocations: 43.77 kB / 0.7959 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.02462, allocations: 39.69 kB / 0.796 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.02462, allocations: 0 / 0.796 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.02463, allocations: 3.984 kB / 0.796 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.02464, allocations: 3.938 kB / 0.796 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.02716, allocations: 0.7078 MB / 0.7967 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02717, allocations: 0 / 0.7967 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.0272, allocations: 4 kB / 0.7967 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.02721, allocations: 0.8125 kB / 0.7967 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.02725, allocations: 27.91 kB / 0.7967 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.02726, allocations: 0.9375 kB / 0.7967 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02726, allocations: 0 / 0.7967 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.02935, allocations: 0.511 MB / 0.7972 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.02963, allocations: 141.5 kB / 0.7973 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.0297, allocations: 11.94 kB / 0.7973 GB, free: 1.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.03023, allocations: 42.77 kB / 0.7974 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.03027, allocations: 15.97 kB / 0.7974 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.956e-05/0.03035, allocations: 51.98 kB / 0.7975 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003589/0.03071, allocations: 295.1 kB / 0.7977 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.03071, allocations: 0 / 0.7977 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003733/0.03108, allocations: 71.98 kB / 0.7978 GB, free: 0.7422 MB / 0.7448 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.0001752/0.03126, allocations: 114 kB / 0.7979 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.03276, allocations: 490.2 kB / 0.7984 GB, free: 116 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.03276, allocations: 4 kB / 0.7984 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.03367, allocations: 129.7 kB / 0.7985 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.03407, allocations: 46.92 kB / 0.7986 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.03591, allocations: 0.5863 MB / 0.7991 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.03612, allocations: 171.4 kB / 0.7993 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.03618, allocations: 9.141 kB / 0.7993 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.03624, allocations: 20.48 kB / 0.7993 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of SimCode: time 4.31e-07/0.03624, allocations: 0 / 0.7993 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of Templates: time 0.01116/0.0474, allocations: 5.884 MB / 0.8051 GB, free: 9.199 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.664947699056938]