Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001394/0.001394, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00149/0.00149, allocations: 161 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.9629/0.9629, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.8/1.8, allocations: 359 MB / 0.6052 GB, free: 11.01 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.415e-05, allocations: 2.312 kB / 0.787 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00197/0.001984, allocations: 1.565 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003011, allocations: 0.544 MB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.003068, allocations: 0 / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003172, allocations: 4.844 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.003286, allocations: 27.86 kB / 0.7891 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.003988, allocations: 321.5 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.004395, allocations: 487.4 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.004432, allocations: 4 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.004781, allocations: 361.1 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.004987, allocations: 131.5 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.005046, allocations: 28 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.823e-05/0.005104, allocations: 27.44 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.005199, allocations: 115.7 kB / 0.7905 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.005309, allocations: 127.7 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.005618, allocations: 382.8 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.00562, allocations: 0 / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005621, allocations: 0 / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005626, allocations: 0 / 0.791 GB, free: 8.477 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.0008629/0.006489, allocations: 0.9066 MB / 0.7919 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.006522, allocations: 12.75 kB / 0.7919 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.006624, allocations: 56.66 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.006878, allocations: 267.3 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.006913, allocations: 17.73 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.944e-05/0.006962, allocations: 24.38 kB / 0.7923 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.007328, allocations: 213.4 kB / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.007338, allocations: 192 / 0.7925 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.007358, allocations: 4.359 kB / 0.7925 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.007367, allocations: 5.312 kB / 0.7925 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.007472, allocations: 64.12 kB / 0.7926 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.007747, allocations: 309.1 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.007939, allocations: 133.1 kB / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.008041, allocations: 66.47 kB / 0.793 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.008063, allocations: 4 kB / 0.793 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.008257, allocations: 181.7 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.008258, allocations: 1.094 kB / 0.7932 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005395/0.008797, allocations: 384.4 kB / 0.7936 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.008831, allocations: 59.39 kB / 0.7936 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.009092, allocations: 422.7 kB / 0.794 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.009125, allocations: 37.7 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.009185, allocations: 148.1 kB / 0.7942 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.009219, allocations: 43.72 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.009339, allocations: 131.1 kB / 0.7944 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.009446, allocations: 0.4923 MB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.009646, allocations: 183.3 kB / 0.795 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.0101, allocations: 245 kB / 0.7953 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.01033, allocations: 278.1 kB / 0.7955 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01033, allocations: 0 / 0.7955 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005396/0.01087, allocations: 0.5521 MB / 0.7961 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.01092, allocations: 87.55 kB / 0.7962 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01092, allocations: 0 / 0.7962 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01094, allocations: 4 kB / 0.7962 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.01106, allocations: 35.92 kB / 0.7962 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.01107, allocations: 7.938 kB / 0.7962 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.01125, allocations: 47.8 kB / 0.7963 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.0113, allocations: 63.97 kB / 0.7963 GB, free: 2.73 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.0001127/0.01142, allocations: 186.5 kB / 0.7965 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.01146, allocations: 43.77 kB / 0.7965 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.0115, allocations: 35.69 kB / 0.7966 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01151, allocations: 3.984 kB / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01151, allocations: 0 / 0.7966 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01152, allocations: 7.938 kB / 0.7966 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006443/0.01216, allocations: 0.6653 MB / 0.7972 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01216, allocations: 3.984 kB / 0.7972 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.01219, allocations: 4 kB / 0.7972 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.01219, allocations: 8 kB / 0.7972 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.01221, allocations: 23.91 kB / 0.7973 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01222, allocations: 4 kB / 0.7973 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.01222, allocations: 0 / 0.7973 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.01259, allocations: 461.7 kB / 0.7977 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.01273, allocations: 121.5 kB / 0.7978 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.01278, allocations: 15.94 kB / 0.7978 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.01292, allocations: 23.98 kB / 0.7979 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.01295, allocations: 11.92 kB / 0.7979 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.01299, allocations: 59.97 kB / 0.7979 GB, free: 1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001523/0.01315, allocations: 275.1 kB / 0.7982 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01315, allocations: 3.938 kB / 0.7982 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002221/0.01337, allocations: 63.98 kB / 0.7983 GB, free: 0.668 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 8.99e-05/0.01346, allocations: 116.9 kB / 0.7984 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.01388, allocations: 440.8 kB / 0.7988 GB, free: 76 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01389, allocations: 0 / 0.7988 GB, free: 76 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01401, allocations: 87.94 kB / 0.7989 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.0002443/0.01425, allocations: 49.62 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.0006694/0.01492, allocations: 482.8 kB / 0.7994 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.519e-05/0.01496, allocations: 87.81 kB / 0.7995 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.015, allocations: 17.14 kB / 0.7995 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.01503, allocations: 12.5 kB / 0.7995 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.01503, allocations: 0 / 0.7995 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.006839/0.02187, allocations: 5.885 MB / 0.8052 GB, free: 9.371 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.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.980312214232981]