Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.002294/0.002294, allocations: 88.05 kB / 19.44 MB, free: 320 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.00268/0.00268, allocations: 169.3 kB / 22.76 MB, free: 1.645 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 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.382/3.382, allocations: 429.5 MB / 0.6729 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 176] 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8774 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.923e-05, allocations: 4.719 kB / 0.8774 GB, free: 6.711 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002847/0.002876, allocations: 1.544 MB / 0.8789 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.004305, allocations: 0.5299 MB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.004356, allocations: 0 / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.004465, allocations: 19.8 kB / 0.8794 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.004585, allocations: 33.09 kB / 0.8795 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.005416, allocations: 308.2 kB / 0.8798 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005959/0.006012, allocations: 495.4 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.006053, allocations: 5.344 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005392/0.006593, allocations: 351.6 kB / 0.8806 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.006951, allocations: 124.8 kB / 0.8807 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.007081, allocations: 35.92 kB / 0.8807 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.007215, allocations: 24.53 kB / 0.8808 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.007369, allocations: 116.3 kB / 0.8809 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.007559, allocations: 131.7 kB / 0.881 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.008136, allocations: 464.1 kB / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.008141, allocations: 0 / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/0.008142, allocations: 3.938 kB / 0.8814 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.008148, allocations: 0 / 0.8814 GB, free: 2.586 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.001449/0.009596, allocations: 0.9152 MB / 0.8823 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.009632, allocations: 8.031 kB / 0.8823 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.009786, allocations: 64.09 kB / 0.8824 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.01028, allocations: 262.8 kB / 0.8827 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.01034, allocations: 24.36 kB / 0.8827 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.01042, allocations: 32.34 kB / 0.8827 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.01103, allocations: 197.3 kB / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01104, allocations: 192 / 0.8829 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.01108, allocations: 8.359 kB / 0.8829 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.01109, allocations: 4.969 kB / 0.8829 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.01149, allocations: 77.36 kB / 0.883 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.01197, allocations: 340.3 kB / 0.8833 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.01259, allocations: 156.5 kB / 0.8835 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003865/0.01297, allocations: 87.64 kB / 0.8835 GB, free: 296 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.013, allocations: 3.984 kB / 0.8835 GB, free: 292 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005718/0.01357, allocations: 208.9 kB / 0.8837 GB, free: 68 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.01357, allocations: 0 / 0.8837 GB, free: 68 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.001716/0.01529, allocations: 440.5 kB / 0.8842 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.01535, allocations: 59.41 kB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.0159, allocations: 474.6 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.01597, allocations: 37.7 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.01611, allocations: 148.1 kB / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.01618, allocations: 47.73 kB / 0.8849 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.01642, allocations: 135.1 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002779/0.01669, allocations: 0.5001 MB / 0.8855 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.01708, allocations: 207.3 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.01752, allocations: 293.8 kB / 0.886 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.01799, allocations: 310.4 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.018, allocations: 0 / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001075/0.01907, allocations: 0.6274 MB / 0.8869 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.465e-05/0.01917, allocations: 79.38 kB / 0.887 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.01918, allocations: 4 kB / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.0192, allocations: 0 / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.01941, allocations: 35.97 kB / 0.887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.01942, allocations: 11.88 kB / 0.887 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.01977, allocations: 43.92 kB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.01986, allocations: 55.98 kB / 0.8871 GB, free: 12.41 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.0002336/0.0201, allocations: 194.6 kB / 0.8873 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.02019, allocations: 55.7 kB / 0.8874 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.02026, allocations: 27.69 kB / 0.8874 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.02026, allocations: 7.938 kB / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.02027, allocations: 0 / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.02027, allocations: 7.922 kB / 0.8874 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.02195, allocations: 0.7435 MB / 0.8881 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02195, allocations: 4 kB / 0.8881 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.02199, allocations: 7.938 kB / 0.8881 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.022, allocations: 0 / 0.8881 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.02204, allocations: 23.91 kB / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.02204, allocations: 0 / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02204, allocations: 0 / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.02316, allocations: 500 kB / 0.8886 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.02346, allocations: 125.5 kB / 0.8888 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.02353, allocations: 15.94 kB / 0.8888 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.02381, allocations: 15.98 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.02386, allocations: 15.98 kB / 0.8888 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.02394, allocations: 59.97 kB / 0.8889 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003101/0.02425, allocations: 291.1 kB / 0.8891 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02425, allocations: 0 / 0.8891 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003495/0.0246, allocations: 67.98 kB / 0.8892 GB, free: 10.2 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 0.0001779/0.02478, allocations: 111.2 kB / 0.8893 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.02593, allocations: 0.5945 MB / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02593, allocations: 0 / 0.8899 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.02634, allocations: 99.56 kB / 0.89 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.02673, allocations: 56.05 kB / 0.89 GB, free: 9.297 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.02784, allocations: 0.4989 MB / 0.8905 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.02802, allocations: 166.8 kB / 0.8907 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.532e-05/0.02808, allocations: 5.156 kB / 0.8907 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.02813, allocations: 20.48 kB / 0.8907 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.02813, allocations: 4 kB / 0.8907 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of Templates: time 0.01122/0.03934, allocations: 5.885 MB / 0.8965 GB, free: 2.621 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.614056508988142]