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.001166/0.001166, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001262/0.001262, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9948/0.9948, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.724/1.724, allocations: 359 MB / 0.6055 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.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.874e-06/1.874e-06, allocations: 0 / 0.7871 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.983e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002106/0.002126, allocations: 1.561 MB / 0.7886 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.003174, allocations: 0.5314 MB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.003241, allocations: 5.438 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.736e-05/0.003339, allocations: 11.86 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.003449, allocations: 31.78 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.004098, allocations: 309 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.004466, allocations: 487.4 kB / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.004506, allocations: 4.969 kB / 0.7899 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.004861, allocations: 351.6 kB / 0.7902 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.005061, allocations: 138.1 kB / 0.7904 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.005107, allocations: 26.47 kB / 0.7904 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.005147, allocations: 28 kB / 0.7904 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.649e-05/0.005244, allocations: 119.6 kB / 0.7905 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.005349, allocations: 127.7 kB / 0.7907 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.005659, allocations: 374.8 kB / 0.791 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.005662, allocations: 0 / 0.791 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.11e-07/0.005662, allocations: 1.75 kB / 0.791 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.005669, allocations: 3.984 kB / 0.791 GB, free: 8.816 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.0008145/0.006483, allocations: 0.9105 MB / 0.7919 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.006517, allocations: 8.031 kB / 0.7919 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.006628, allocations: 69.23 kB / 0.792 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.006868, allocations: 251.6 kB / 0.7922 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.006903, allocations: 20.36 kB / 0.7923 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.543e-05/0.006948, allocations: 36.83 kB / 0.7923 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.007279, allocations: 198.5 kB / 0.7925 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.007286, allocations: 4.188 kB / 0.7925 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.007304, allocations: 4.375 kB / 0.7925 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.00731, allocations: 1.75 kB / 0.7925 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.00741, allocations: 64.25 kB / 0.7925 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.007697, allocations: 312.4 kB / 0.7928 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.007895, allocations: 122.8 kB / 0.793 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.007991, allocations: 65.23 kB / 0.793 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.008014, allocations: 11.97 kB / 0.793 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.008207, allocations: 185.7 kB / 0.7932 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.008208, allocations: 0 / 0.7932 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005244/0.008733, allocations: 385.8 kB / 0.7936 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.008766, allocations: 59.34 kB / 0.7936 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.009023, allocations: 422.7 kB / 0.794 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.009058, allocations: 41.69 kB / 0.7941 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.009121, allocations: 148.1 kB / 0.7942 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.009153, allocations: 35.69 kB / 0.7943 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.00928, allocations: 139.1 kB / 0.7944 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.009395, allocations: 0.4884 MB / 0.7949 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.009597, allocations: 179.3 kB / 0.795 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.009793, allocations: 249.8 kB / 0.7953 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.0103, allocations: 274.5 kB / 0.7955 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.0103, allocations: 0 / 0.7955 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005487/0.01085, allocations: 0.556 MB / 0.7961 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.01091, allocations: 83.38 kB / 0.7962 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01091, allocations: 0 / 0.7962 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.01093, allocations: 4 kB / 0.7962 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.01106, allocations: 39.91 kB / 0.7962 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.01107, allocations: 3.938 kB / 0.7962 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.01124, allocations: 47.86 kB / 0.7962 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.01129, allocations: 59.98 kB / 0.7963 GB, free: 3.074 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.0001183/0.01141, allocations: 186.7 kB / 0.7965 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.01146, allocations: 51.75 kB / 0.7965 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.0115, allocations: 27.69 kB / 0.7966 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01151, allocations: 4 kB / 0.7966 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01151, allocations: 0 / 0.7966 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.01152, allocations: 3.938 kB / 0.7966 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.01218, allocations: 0.677 MB / 0.7972 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01218, allocations: 4 kB / 0.7972 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.01221, allocations: 4 kB / 0.7972 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.01221, allocations: 0 / 0.7972 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.01224, allocations: 27.91 kB / 0.7973 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01224, allocations: 0 / 0.7973 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.01224, allocations: 11.94 kB / 0.7973 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.01262, allocations: 462.2 kB / 0.7977 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.01275, allocations: 125.5 kB / 0.7978 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.0128, allocations: 19.92 kB / 0.7979 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.01295, allocations: 16.86 kB / 0.7979 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.01298, allocations: 11.98 kB / 0.7979 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.01303, allocations: 59.97 kB / 0.7979 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001456/0.01318, allocations: 267.1 kB / 0.7982 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01318, allocations: 0 / 0.7982 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000223/0.0134, allocations: 71.98 kB / 0.7983 GB, free: 1.004 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.0001079/0.01351, allocations: 119.2 kB / 0.7984 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.01395, allocations: 429.6 kB / 0.7988 GB, free: 424 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.01395, allocations: 4 kB / 0.7988 GB, free: 420 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01406, allocations: 83.91 kB / 0.7989 GB, free: 332 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.01431, allocations: 51.8 kB / 0.7989 GB, free: 280 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.01507, allocations: 481.2 kB / 0.7994 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.025e-05/0.01512, allocations: 87.8 kB / 0.7995 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.01515, allocations: 13.16 kB / 0.7995 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.01519, allocations: 24.48 kB / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/0.01519, allocations: 0 / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of Templates: time 0.007021/0.02221, allocations: 5.881 MB / 0.8052 GB, free: 9.711 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.9175357921049]