Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 109.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7611 GB, free: 11.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.91 kB / 1.104 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003765/1.019, allocations: 1.526 MB / 1.27 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001531/1.021, allocations: 0.5501 MB / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.211e-05/1.021, allocations: 0 / 1.271 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001334/1.021, allocations: 11.86 kB / 1.271 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/1.021, allocations: 27.86 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/1.022, allocations: 306.8 kB / 1.271 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005873/1.023, allocations: 487.4 kB / 1.272 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/1.023, allocations: 4 kB / 1.272 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003928/1.023, allocations: 279.6 kB / 1.272 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/1.023, allocations: 143.5 kB / 1.272 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.522e-05/1.023, allocations: 28 kB / 1.272 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/1.024, allocations: 24 kB / 1.272 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/1.024, allocations: 115.6 kB / 1.272 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/1.024, allocations: 191 kB / 1.272 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/1.024, allocations: 428.2 kB / 1.273 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.024, allocations: 3.938 kB / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of FrontEnd: time 5.961e-06/1.024, allocations: 3.984 kB / 1.273 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.477e-06/1.024, allocations: 4 kB / 1.273 GB, free: 1.098 MB / 0.9669 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.001578/1.026, allocations: 0.8742 MB / 1.274 GB, free: 136 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.026, allocations: 8.031 kB / 1.274 GB, free: 128 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/1.026, allocations: 42.73 kB / 1.274 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/1.026, allocations: 48.7 kB / 1.274 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/1.027, allocations: 314.6 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/1.027, allocations: 16.36 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/1.027, allocations: 28.38 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009393/1.028, allocations: 213.9 kB / 1.274 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.028, allocations: 3.938 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/1.028, allocations: 0 / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.028, allocations: 4 kB / 1.274 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/1.029, allocations: 107.9 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/1.029, allocations: 389.2 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009485/1.03, allocations: 170.4 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/1.031, allocations: 104.8 kB / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/1.031, allocations: 0 / 1.275 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009549/1.032, allocations: 231 kB / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.094e-06/1.032, allocations: 0 / 1.275 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002373/1.034, allocations: 485 kB / 1.276 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/1.034, allocations: 67.33 kB / 1.276 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004601/1.035, allocations: 405.9 kB / 1.276 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/1.035, allocations: 45.69 kB / 1.276 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/1.035, allocations: 91 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/1.035, allocations: 43.75 kB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/1.035, allocations: 129.4 kB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.035, allocations: 322.8 kB / 1.277 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/1.035, allocations: 115.9 kB / 1.277 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/1.036, allocations: 177 kB / 1.277 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/1.036, allocations: 279.2 kB / 1.277 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.036, allocations: 4 kB / 1.277 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008533/1.037, allocations: 0.4888 MB / 1.278 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.037, allocations: 87.31 kB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.037, allocations: 4 kB / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.037, allocations: 0 / 1.278 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/1.037, allocations: 27.92 kB / 1.278 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.037, allocations: 4 kB / 1.278 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/1.038, allocations: 60.03 kB / 1.278 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.25e-05/1.038, allocations: 59.97 kB / 1.278 GB, free: 11.38 MB / 0.9825 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.0002532/1.038, allocations: 199.9 kB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/1.038, allocations: 39.7 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.787e-05/1.038, allocations: 43.73 kB / 1.278 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.038, allocations: 4 kB / 1.278 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.038, allocations: 0 / 1.278 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.038, allocations: 4 kB / 1.278 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/1.041, allocations: 0.7421 MB / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.041, allocations: 3.938 kB / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/1.041, allocations: 7.984 kB / 1.279 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.041, allocations: 4 kB / 1.279 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/1.041, allocations: 19.98 kB / 1.279 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.041, allocations: 0 / 1.279 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.041, allocations: 0 / 1.279 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.042, allocations: 475.5 kB / 1.279 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/1.043, allocations: 200.6 kB / 1.28 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/1.043, allocations: 23.97 kB / 1.28 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/1.043, allocations: 27.97 kB / 1.28 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/1.043, allocations: 11.92 kB / 1.28 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/1.043, allocations: 59.97 kB / 1.28 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00033/1.044, allocations: 299.1 kB / 1.28 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.044, allocations: 3.938 kB / 1.28 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004286/1.044, allocations: 60 kB / 1.28 GB, free: 9.086 MB / 0.9825 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.002002/1.046, allocations: 1.027 MB / 1.281 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.047, allocations: 402.7 kB / 1.281 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.047, allocations: 4.062 kB / 1.281 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006851/1.048, allocations: 123.8 kB / 1.282 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/1.048, allocations: 25.48 kB / 1.282 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/1.053, allocations: 2.797 MB / 1.284 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/1.053, allocations: 0.7747 MB / 1.285 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.49e-05/1.053, allocations: 13.08 kB / 1.285 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/1.053, allocations: 23.42 kB / 1.285 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of SimCode: time 1.412e-06/1.053, allocations: 0 / 1.285 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/1.086, allocations: 6.136 MB / 1.291 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.16/9.247, allocations: 4.656 kB / 1.291 GB, free: 13.56 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.49671856733039]