Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001451/0.001451, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001557/0.001557, allocations: 165 kB / 23.02 MB, free: 1.555 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.9479/0.9479, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.079/2.079, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8781 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.726e-05, allocations: 2.859 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002108/0.002136, allocations: 1.579 MB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.003178, allocations: 0.536 MB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.003236, allocations: 5.406 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.003353, allocations: 7.875 kB / 0.8802 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.003464, allocations: 27.84 kB / 0.8802 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.004069, allocations: 321.3 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.004423, allocations: 487.4 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.004457, allocations: 4 kB / 0.881 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.004775, allocations: 353.2 kB / 0.8813 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.004959, allocations: 127.7 kB / 0.8815 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.481e-05/0.005014, allocations: 25.44 kB / 0.8815 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.323e-05/0.005067, allocations: 28 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.005174, allocations: 123.6 kB / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.005285, allocations: 127.7 kB / 0.8818 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.005593, allocations: 378 kB / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.005595, allocations: 0 / 0.8821 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005596, allocations: 7.938 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.005601, allocations: 0 / 0.8821 GB, free: 2.27 MB / 0.8386 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.0008721/0.006473, allocations: 0.9105 MB / 0.883 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.006511, allocations: 8.031 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.979e-05/0.006611, allocations: 60.64 kB / 0.8831 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.006867, allocations: 258.8 kB / 0.8833 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.006904, allocations: 20.36 kB / 0.8833 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.763e-05/0.006952, allocations: 28.38 kB / 0.8834 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.0073, allocations: 202.7 kB / 0.8836 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.00731, allocations: 192 / 0.8836 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.00733, allocations: 8.359 kB / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.007338, allocations: 384 / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.767e-05/0.007436, allocations: 61.97 kB / 0.8836 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.007705, allocations: 312.3 kB / 0.8839 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.007898, allocations: 131 kB / 0.8841 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.441e-05/0.007993, allocations: 67.66 kB / 0.8841 GB, free: 68 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.008015, allocations: 3.984 kB / 0.8841 GB, free: 64 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.008225, allocations: 188.9 kB / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.008227, allocations: 0 / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005198/0.008746, allocations: 373.2 kB / 0.8847 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.008782, allocations: 63.39 kB / 0.8847 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.009305, allocations: 422.6 kB / 0.8851 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.009338, allocations: 41.7 kB / 0.8852 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.009395, allocations: 148.1 kB / 0.8853 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.009429, allocations: 39.69 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.009548, allocations: 131.1 kB / 0.8855 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.00965, allocations: 0.4923 MB / 0.886 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.009843, allocations: 179.3 kB / 0.8861 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.01005, allocations: 242 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.01027, allocations: 274.6 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.01027, allocations: 4 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005187/0.01079, allocations: 0.5562 MB / 0.8872 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.01084, allocations: 87.36 kB / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01085, allocations: 0 / 0.8872 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01086, allocations: 4 kB / 0.8872 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01098, allocations: 36.11 kB / 0.8873 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01099, allocations: 7.938 kB / 0.8873 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.01116, allocations: 47.84 kB / 0.8873 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.01122, allocations: 67.97 kB / 0.8874 GB, free: 12.5 MB / 0.8542 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.0001065/0.01133, allocations: 182.4 kB / 0.8876 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.01137, allocations: 51.72 kB / 0.8876 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.01141, allocations: 31.69 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01142, allocations: 7.984 kB / 0.8877 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01142, allocations: 4 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01142, allocations: 3.938 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.01207, allocations: 0.6653 MB / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.01207, allocations: 3.984 kB / 0.8883 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.0121, allocations: 4 kB / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0121, allocations: 0 / 0.8883 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.01212, allocations: 27.91 kB / 0.8884 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.01213, allocations: 4 kB / 0.8884 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01213, allocations: 4 kB / 0.8884 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.01248, allocations: 456 kB / 0.8888 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.01262, allocations: 125.5 kB / 0.8889 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.01266, allocations: 11.94 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01281, allocations: 23.98 kB / 0.889 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.01283, allocations: 7.984 kB / 0.889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.01288, allocations: 59.97 kB / 0.889 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001515/0.01303, allocations: 279.1 kB / 0.8893 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01303, allocations: 0 / 0.8893 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000214/0.01324, allocations: 67.98 kB / 0.8893 GB, free: 10.43 MB / 0.8542 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.741e-05/0.01333, allocations: 115.2 kB / 0.8895 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.01375, allocations: 426.1 kB / 0.8899 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01376, allocations: 384 / 0.8899 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.01386, allocations: 98.75 kB / 0.89 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.01411, allocations: 46.38 kB / 0.89 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006789/0.01479, allocations: 483 kB / 0.8905 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.699e-05/0.01484, allocations: 87.75 kB / 0.8905 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.01487, allocations: 13.14 kB / 0.8906 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.01491, allocations: 20.5 kB / 0.8906 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of SimCode: time 3.497e-06/0.01491, allocations: 0 / 0.8906 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of Templates: time 0.006382/0.02129, allocations: 5.885 MB / 0.8963 GB, free: 3.129 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.443215745035559]