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.0009321/0.0009321, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001001/0.001001, allocations: 169 kB / 24.28 MB, free: 276 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.9377/0.9377, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.758/1.758, allocations: 359 MB / 0.6055 GB, free: 10.99 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.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 1.403e-06/1.403e-06, allocations: 0 / 0.787 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.627e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001831/0.001848, allocations: 1.559 MB / 0.7886 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.002854, allocations: 0.5362 MB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.002926, allocations: 0 / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.704e-05/0.003023, allocations: 9.438 kB / 0.7891 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.003131, allocations: 27.84 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.003846, allocations: 321.3 kB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.004255, allocations: 487.4 kB / 0.7899 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.004295, allocations: 4 kB / 0.7899 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.004642, allocations: 347.6 kB / 0.7902 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.004852, allocations: 133.7 kB / 0.7904 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.004901, allocations: 28 kB / 0.7904 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.005219, allocations: 28 kB / 0.7904 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.005321, allocations: 123.6 kB / 0.7905 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.005434, allocations: 128.2 kB / 0.7907 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.005769, allocations: 386.8 kB / 0.791 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005772, allocations: 1.562 kB / 0.791 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.005772, allocations: 0 / 0.791 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.005778, allocations: 0 / 0.791 GB, free: 8.754 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.0008945/0.006673, allocations: 0.9084 MB / 0.7919 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.00671, allocations: 8.031 kB / 0.7919 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.006818, allocations: 60.66 kB / 0.792 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.007067, allocations: 258.8 kB / 0.7922 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.007102, allocations: 21.27 kB / 0.7922 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.007146, allocations: 20.38 kB / 0.7923 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.007505, allocations: 212.9 kB / 0.7925 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.007511, allocations: 192 / 0.7925 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.007533, allocations: 9.016 kB / 0.7925 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.00754, allocations: 1.562 kB / 0.7925 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.007645, allocations: 64.16 kB / 0.7925 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.007921, allocations: 308.4 kB / 0.7928 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.008112, allocations: 123.9 kB / 0.793 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.008211, allocations: 69.56 kB / 0.793 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.008232, allocations: 4 kB / 0.793 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.008425, allocations: 185.2 kB / 0.7932 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.008426, allocations: 0 / 0.7932 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005352/0.008962, allocations: 379.4 kB / 0.7936 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.009001, allocations: 67.39 kB / 0.7936 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.009273, allocations: 422.6 kB / 0.794 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.00931, allocations: 41.7 kB / 0.7941 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.009374, allocations: 140.1 kB / 0.7942 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.009412, allocations: 39.73 kB / 0.7942 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.009536, allocations: 139.1 kB / 0.7944 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.009661, allocations: 0.4923 MB / 0.7949 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.009864, allocations: 175.3 kB / 0.795 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.01006, allocations: 245.1 kB / 0.7953 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.01029, allocations: 278.5 kB / 0.7955 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01029, allocations: 4 kB / 0.7955 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005396/0.01083, allocations: 0.5558 MB / 0.7961 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.01089, allocations: 83.36 kB / 0.7961 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01089, allocations: 4 kB / 0.7962 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.0109, allocations: 0 / 0.7962 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01103, allocations: 35.92 kB / 0.7962 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.01104, allocations: 7.922 kB / 0.7962 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.01122, allocations: 55.98 kB / 0.7962 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.512e-05/0.01128, allocations: 59.98 kB / 0.7963 GB, free: 3.016 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.0001259/0.0114, allocations: 190.5 kB / 0.7965 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.01145, allocations: 39.77 kB / 0.7965 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.01149, allocations: 39.67 kB / 0.7966 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01149, allocations: 4 kB / 0.7966 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.0115, allocations: 0 / 0.7966 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.0115, allocations: 3.938 kB / 0.7966 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.01216, allocations: 0.6809 MB / 0.7972 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.01216, allocations: 0 / 0.7972 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.01219, allocations: 4 kB / 0.7972 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01219, allocations: 0 / 0.7972 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/0.01248, allocations: 23.91 kB / 0.7973 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01248, allocations: 0 / 0.7973 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01249, allocations: 0 / 0.7973 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.01286, allocations: 467.9 kB / 0.7977 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.013, allocations: 121.5 kB / 0.7978 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.01305, allocations: 15.94 kB / 0.7978 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.01319, allocations: 19.98 kB / 0.7979 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.01322, allocations: 11.97 kB / 0.7979 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.01327, allocations: 59.98 kB / 0.7979 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000155/0.01342, allocations: 271.1 kB / 0.7982 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01342, allocations: 0 / 0.7982 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002258/0.01365, allocations: 67.98 kB / 0.7983 GB, free: 0.9531 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.0001028/0.01375, allocations: 111.2 kB / 0.7984 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.01419, allocations: 429.6 kB / 0.7988 GB, free: 380 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01419, allocations: 3.938 kB / 0.7988 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.0143, allocations: 90 kB / 0.7989 GB, free: 284 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01455, allocations: 55.66 kB / 0.7989 GB, free: 228 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.01529, allocations: 486.8 kB / 0.7994 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.268e-05/0.01534, allocations: 83.81 kB / 0.7995 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.01538, allocations: 13.14 kB / 0.7995 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.01541, allocations: 12.5 kB / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of SimCode: time 9.72e-07/0.01541, allocations: 0 / 0.7995 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.006612/0.02202, allocations: 5.898 MB / 0.8052 GB, free: 9.656 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.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.810219832928851]