Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009669/0.0009669, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009275/0.0009275, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9585/0.9585, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.696/1.696, allocations: 359 MB / 0.6052 GB, free: 11.02 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.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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.745e-05, allocations: 9.828 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002008/0.002036, allocations: 1.564 MB / 0.7886 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001063/0.003098, allocations: 0.5384 MB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.00316, allocations: 4.5 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.003264, allocations: 7.938 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.003376, allocations: 28.5 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.004018, allocations: 320.8 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.004406, allocations: 484 kB / 0.7899 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.004445, allocations: 4 kB / 0.7899 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.004784, allocations: 353.2 kB / 0.7903 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.004995, allocations: 135.5 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.618e-05/0.005051, allocations: 24 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.93e-05/0.005101, allocations: 29.5 kB / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.005206, allocations: 123.6 kB / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.005319, allocations: 127.7 kB / 0.7907 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.005629, allocations: 374.9 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005632, allocations: 1.594 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005633, allocations: 0 / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.005638, allocations: 4 kB / 0.791 GB, free: 8.457 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.0008372/0.006475, allocations: 0.9139 MB / 0.7919 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.006509, allocations: 8.031 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.006612, allocations: 60.66 kB / 0.792 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.006855, allocations: 262.8 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.006889, allocations: 16.38 kB / 0.7923 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.006934, allocations: 28.36 kB / 0.7923 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.007293, allocations: 209.1 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.007301, allocations: 1.344 kB / 0.7925 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.007322, allocations: 4.359 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.007329, allocations: 384 / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.007422, allocations: 62.84 kB / 0.7926 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.007692, allocations: 304.4 kB / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.007882, allocations: 126 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.007977, allocations: 68.28 kB / 0.793 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.007995, allocations: 4 kB / 0.793 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.008196, allocations: 185.7 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.008197, allocations: 1.062 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005226/0.00872, allocations: 388.5 kB / 0.7936 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.008753, allocations: 63.39 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.008995, allocations: 418.7 kB / 0.794 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.009031, allocations: 41.7 kB / 0.7941 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.00909, allocations: 144.1 kB / 0.7942 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.009126, allocations: 39.67 kB / 0.7943 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.009246, allocations: 135.1 kB / 0.7944 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.009355, allocations: 0.4923 MB / 0.7949 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.009542, allocations: 179.3 kB / 0.795 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.009737, allocations: 249 kB / 0.7953 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.009962, allocations: 274.9 kB / 0.7955 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.009964, allocations: 0 / 0.7955 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005328/0.0105, allocations: 0.5593 MB / 0.7961 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.01055, allocations: 87.36 kB / 0.7962 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.01055, allocations: 0 / 0.7962 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.01057, allocations: 4 kB / 0.7962 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.0107, allocations: 31.92 kB / 0.7962 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.0107, allocations: 7.938 kB / 0.7962 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.01087, allocations: 43.86 kB / 0.7963 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.01092, allocations: 67.97 kB / 0.7963 GB, free: 2.715 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.0001197/0.01104, allocations: 190.6 kB / 0.7965 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.103e-05/0.0111, allocations: 43.77 kB / 0.7965 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.01114, allocations: 31.69 kB / 0.7966 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01114, allocations: 4 kB / 0.7966 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.01114, allocations: 7.922 kB / 0.7966 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01115, allocations: 3.938 kB / 0.7966 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.01178, allocations: 0.6654 MB / 0.7972 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01178, allocations: 4 kB / 0.7972 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.401e-05/0.01181, allocations: 11.92 kB / 0.7973 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.01181, allocations: 0 / 0.7973 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.01183, allocations: 23.91 kB / 0.7973 GB, free: 1.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01184, allocations: 4 kB / 0.7973 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01184, allocations: 0 / 0.7973 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.01221, allocations: 456 kB / 0.7977 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.01234, allocations: 125.5 kB / 0.7978 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.01239, allocations: 15.94 kB / 0.7979 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.01253, allocations: 19.98 kB / 0.7979 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.01256, allocations: 7.984 kB / 0.7979 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.01261, allocations: 67.97 kB / 0.7979 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001569/0.01277, allocations: 271.1 kB / 0.7982 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01277, allocations: 3.938 kB / 0.7982 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002279/0.013, allocations: 67.98 kB / 0.7983 GB, free: 0.6484 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.0001109/0.01311, allocations: 111.2 kB / 0.7984 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.01353, allocations: 435.8 kB / 0.7988 GB, free: 64 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01353, allocations: 4 kB / 0.7988 GB, free: 60 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.01365, allocations: 80.02 kB / 0.7989 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01389, allocations: 52.84 kB / 0.7989 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006757/0.01457, allocations: 490.8 kB / 0.7994 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.01462, allocations: 83.81 kB / 0.7995 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.01465, allocations: 17.14 kB / 0.7995 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.01468, allocations: 16.5 kB / 0.7995 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/0.01469, allocations: 0 / 0.7995 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of Templates: time 0.007869/0.02255, allocations: 6.505 MB / 0.8059 GB, free: 8.746 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.919408241752535]