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.001032/0.001032, 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.001066/0.001066, 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.9711/0.9711, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.706/1.706, allocations: 359 MB / 0.6052 GB, free: 10.98 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.413e-06/1.413e-06, allocations: 0 / 0.787 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.893e-05, allocations: 5.938 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001859/0.001878, allocations: 1.556 MB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.002916, allocations: 0.5403 MB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.002977, allocations: 0 / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.322e-05/0.00307, allocations: 13.8 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003175, allocations: 27.84 kB / 0.7891 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.003813, allocations: 308 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.004216, allocations: 492.2 kB / 0.7899 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.554e-05/0.004251, allocations: 4 kB / 0.7899 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.004583, allocations: 356.8 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.004784, allocations: 131.5 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.004838, allocations: 29.41 kB / 0.7904 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.004893, allocations: 28 kB / 0.7904 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.062e-05/0.004983, allocations: 115.7 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.005086, allocations: 131.7 kB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.005374, allocations: 379.9 kB / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.005376, allocations: 0 / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005377, allocations: 1.562 kB / 0.791 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.005381, allocations: 0 / 0.791 GB, free: 8.434 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.0008309/0.006212, allocations: 0.9144 MB / 0.7919 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.006244, allocations: 9.688 kB / 0.7919 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.006346, allocations: 64.64 kB / 0.792 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.006585, allocations: 250.9 kB / 0.7922 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.006619, allocations: 16.36 kB / 0.7922 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.006663, allocations: 32.36 kB / 0.7923 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.007003, allocations: 206 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.007009, allocations: 0.8125 kB / 0.7925 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.007028, allocations: 9.094 kB / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.007035, allocations: 384 / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.007131, allocations: 65.06 kB / 0.7925 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.007399, allocations: 312.3 kB / 0.7928 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.00759, allocations: 126.5 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.266e-05/0.007683, allocations: 64.81 kB / 0.793 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.007701, allocations: 8.844 kB / 0.793 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.007889, allocations: 182 kB / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.00789, allocations: 0 / 0.7932 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005124/0.008402, allocations: 382.5 kB / 0.7936 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.008436, allocations: 63.34 kB / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.008678, allocations: 419.4 kB / 0.794 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.008713, allocations: 41.69 kB / 0.7941 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.008772, allocations: 148.8 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.008806, allocations: 39.73 kB / 0.7943 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.008925, allocations: 139.1 kB / 0.7944 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.009052, allocations: 0.4923 MB / 0.7949 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.009312, allocations: 171.3 kB / 0.795 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.009509, allocations: 249.1 kB / 0.7953 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.009746, allocations: 274.7 kB / 0.7955 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.009749, allocations: 4 kB / 0.7955 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006053/0.01035, allocations: 0.5547 MB / 0.7961 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.0104, allocations: 79.38 kB / 0.7962 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01041, allocations: 4 kB / 0.7962 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01042, allocations: 0 / 0.7962 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01055, allocations: 35.91 kB / 0.7962 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.01055, allocations: 11.88 kB / 0.7962 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.01072, allocations: 52.05 kB / 0.7963 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.01078, allocations: 63.97 kB / 0.7963 GB, free: 2.691 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.0001113/0.01089, allocations: 182.5 kB / 0.7965 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.01094, allocations: 47.75 kB / 0.7965 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.01097, allocations: 35.69 kB / 0.7966 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01098, allocations: 4 kB / 0.7966 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01098, allocations: 3.984 kB / 0.7966 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01098, allocations: 3.938 kB / 0.7966 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006326/0.01162, allocations: 0.6692 MB / 0.7972 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01162, allocations: 4 kB / 0.7972 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.01164, allocations: 4 kB / 0.7972 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.01165, allocations: 0 / 0.7972 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.01169, allocations: 27.91 kB / 0.7973 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01169, allocations: 0 / 0.7973 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.01169, allocations: 0 / 0.7973 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.01209, allocations: 471.9 kB / 0.7977 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.01222, allocations: 117.5 kB / 0.7978 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.821e-05/0.01226, allocations: 19.92 kB / 0.7978 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01241, allocations: 19.98 kB / 0.7979 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.01243, allocations: 11.92 kB / 0.7979 GB, free: 1.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/0.01248, allocations: 59.97 kB / 0.7979 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000142/0.01262, allocations: 275.1 kB / 0.7982 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01262, allocations: 0 / 0.7982 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002188/0.01284, allocations: 67.98 kB / 0.7983 GB, free: 0.625 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.839e-05/0.01293, allocations: 119.2 kB / 0.7984 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.0134, allocations: 428 kB / 0.7988 GB, free: 40 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0134, allocations: 0 / 0.7988 GB, free: 40 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.01351, allocations: 83.91 kB / 0.7989 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.01376, allocations: 64.83 kB / 0.7989 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.01443, allocations: 486.8 kB / 0.7994 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.01447, allocations: 83.81 kB / 0.7995 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.0145, allocations: 13.14 kB / 0.7995 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.01454, allocations: 12.5 kB / 0.7995 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of SimCode: time 7.32e-07/0.01454, allocations: 0 / 0.7995 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of Templates: time 0.007427/0.02196, allocations: 6.505 MB / 0.8058 GB, free: 8.723 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.809587500989437]