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.0009113/0.0009113, 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.001013/0.001013, allocations: 165 kB / 23.82 MB, free: 0.75 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.9594/0.9594, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.83/1.83, allocations: 359 MB / 0.6052 GB, free: 11.03 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 1.673e-06/1.673e-06, allocations: 0 / 0.7871 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.176e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003205/0.003237, allocations: 1.567 MB / 0.7886 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.004814, allocations: 0.541 MB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.004921, allocations: 0 / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.005073, allocations: 8.531 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.005266, allocations: 28.7 kB / 0.7891 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.006713, allocations: 320.2 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007576/0.00747, allocations: 488.6 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.007551, allocations: 4 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006716/0.008223, allocations: 351.6 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.008662, allocations: 130.4 kB / 0.7904 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.008773, allocations: 28 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.675e-05/0.008849, allocations: 28 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.009035, allocations: 123.6 kB / 0.7906 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.009225, allocations: 127.7 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004124/0.009637, allocations: 382.8 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.009642, allocations: 1.344 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.853e-06/0.009644, allocations: 0 / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.00965, allocations: 0 / 0.791 GB, free: 8.488 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.0009886/0.01064, allocations: 0.9111 MB / 0.7919 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01068, allocations: 9 kB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.01079, allocations: 56.7 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.01108, allocations: 262.8 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.01113, allocations: 13.06 kB / 0.7923 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.01118, allocations: 32.3 kB / 0.7923 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.01157, allocations: 206.4 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.01158, allocations: 192 / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.0116, allocations: 8.891 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.01161, allocations: 1.094 kB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.01172, allocations: 64.94 kB / 0.7926 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.01203, allocations: 304.4 kB / 0.7928 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.01226, allocations: 124.6 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.01236, allocations: 66.69 kB / 0.793 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.01239, allocations: 4.906 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.01261, allocations: 183.5 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 3.737e-06/0.01262, allocations: 3.984 kB / 0.7932 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005779/0.01319, allocations: 384.9 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.01324, allocations: 63.33 kB / 0.7936 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.0135, allocations: 422.7 kB / 0.794 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.01353, allocations: 37.7 kB / 0.7941 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.0136, allocations: 148.1 kB / 0.7942 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.01364, allocations: 35.78 kB / 0.7943 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.01377, allocations: 131.1 kB / 0.7944 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.01389, allocations: 0.4923 MB / 0.7949 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.01412, allocations: 183.2 kB / 0.795 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.01434, allocations: 245.1 kB / 0.7953 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.01458, allocations: 282.8 kB / 0.7955 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01458, allocations: 0 / 0.7955 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005735/0.01516, allocations: 0.5547 MB / 0.7961 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.948e-05/0.01522, allocations: 87.55 kB / 0.7962 GB, free: 2.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.01522, allocations: 4 kB / 0.7962 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.01524, allocations: 0 / 0.7962 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.01538, allocations: 35.92 kB / 0.7962 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01539, allocations: 7.938 kB / 0.7962 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.01557, allocations: 43.86 kB / 0.7963 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/0.01564, allocations: 63.97 kB / 0.7963 GB, free: 2.754 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.0001282/0.01576, allocations: 190.4 kB / 0.7965 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.01581, allocations: 43.77 kB / 0.7965 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.01586, allocations: 35.69 kB / 0.7966 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.01586, allocations: 4 kB / 0.7966 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.01587, allocations: 3.984 kB / 0.7966 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01588, allocations: 3.938 kB / 0.7966 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007277/0.0166, allocations: 0.6679 MB / 0.7972 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0166, allocations: 4 kB / 0.7972 GB, free: 1.754 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.01664, allocations: 7.984 kB / 0.7972 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01664, allocations: 4 kB / 0.7973 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.01667, allocations: 23.91 kB / 0.7973 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01667, allocations: 0 / 0.7973 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01667, allocations: 3.938 kB / 0.7973 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.01708, allocations: 456 kB / 0.7977 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.01724, allocations: 125.5 kB / 0.7978 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.01729, allocations: 19.94 kB / 0.7979 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.01746, allocations: 19.98 kB / 0.7979 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.01749, allocations: 7.984 kB / 0.7979 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.01754, allocations: 59.97 kB / 0.7979 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001644/0.01771, allocations: 275.1 kB / 0.7982 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01771, allocations: 0 / 0.7982 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000251/0.01796, allocations: 67.98 kB / 0.7983 GB, free: 0.6914 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.0001207/0.01808, allocations: 111.2 kB / 0.7984 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.01854, allocations: 429.6 kB / 0.7988 GB, free: 112 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.01854, allocations: 7.938 kB / 0.7988 GB, free: 104 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01865, allocations: 82.08 kB / 0.7989 GB, free: 20 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.01895, allocations: 57.62 kB / 0.7989 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.01976, allocations: 492.2 kB / 0.7994 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.408e-05/0.01982, allocations: 83.81 kB / 0.7995 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 4.088e-05/0.01986, allocations: 21.12 kB / 0.7995 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.0199, allocations: 12.5 kB / 0.7995 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of SimCode: time 7.81e-07/0.0199, allocations: 4 kB / 0.7995 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of Templates: time 0.006802/0.0267, allocations: 5.887 MB / 0.8053 GB, free: 9.387 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: 5.251382799819112]