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.001794/0.001794, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.00241/0.00241, allocations: 211.6 kB / 22.24 MB, free: 5.242 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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.377/3.377, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.67 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002883/0.3674, allocations: 1.526 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3688, allocations: 0.5307 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.3688, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3689, allocations: 11.86 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.3691, allocations: 27.64 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008499/0.3699, allocations: 313.7 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005378/0.3705, allocations: 491.4 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.3705, allocations: 0 / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.3709, allocations: 283.6 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.3712, allocations: 131.6 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3713, allocations: 28 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.3714, allocations: 28 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3715, allocations: 115.6 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.3717, allocations: 155.3 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004738/0.3722, allocations: 438.6 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3722, allocations: 4 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3722, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.3722, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 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.001335/0.3735, allocations: 0.7911 MB / 1.368 GB, free: 9.191 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.3736, allocations: 8.031 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.3736, allocations: 34.75 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3737, allocations: 56.69 kB / 1.368 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.3742, allocations: 260.7 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.3743, allocations: 20.36 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.3743, allocations: 36.36 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/0.3753, allocations: 209.9 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3753, allocations: 3.938 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.3753, allocations: 3.984 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3753, allocations: 0 / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/0.3761, allocations: 99.92 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.3765, allocations: 304.5 kB / 1.369 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.3775, allocations: 162.6 kB / 1.369 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007884/0.3783, allocations: 104.8 kB / 1.369 GB, free: 7.824 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3783, allocations: 7.938 kB / 1.369 GB, free: 7.816 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009809/0.3793, allocations: 227 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.3793, allocations: 0 / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002556/0.3819, allocations: 495.4 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.3819, allocations: 55.41 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.3824, allocations: 409.9 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.3825, allocations: 45.69 kB / 1.371 GB, free: 6.562 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.997e-05/0.3826, allocations: 93.44 kB / 1.371 GB, free: 6.469 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.3826, allocations: 43.67 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.3828, allocations: 133.4 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.383, allocations: 318.8 kB / 1.371 GB, free: 5.969 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/0.3834, allocations: 195.2 kB / 1.371 GB, free: 5.766 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.3837, allocations: 246.4 kB / 1.371 GB, free: 5.492 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.3842, allocations: 279 kB / 1.372 GB, free: 5.188 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3842, allocations: 3.938 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009149/0.3851, allocations: 0.5444 MB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.062e-05/0.3852, allocations: 83.31 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3852, allocations: 0 / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.3852, allocations: 11.97 kB / 1.372 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.3854, allocations: 27.92 kB / 1.372 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3854, allocations: 4.188 kB / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.3859, allocations: 59.84 kB / 1.372 GB, free: 4.414 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.386, allocations: 55.98 kB / 1.373 GB, free: 4.359 MB / 1.061 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.0003129/0.3863, allocations: 199.7 kB / 1.373 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.961e-05/0.3864, allocations: 39.7 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.406e-05/0.3864, allocations: 35.69 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3864, allocations: 4 kB / 1.373 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3864, allocations: 4 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3865, allocations: 3.984 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.3887, allocations: 0.7044 MB / 1.373 GB, free: 3.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3887, allocations: 4 kB / 1.373 GB, free: 3.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.3888, allocations: 11.92 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3888, allocations: 0 / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.3888, allocations: 15.98 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3888, allocations: 0 / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3888, allocations: 3.984 kB / 1.374 GB, free: 3.281 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3905, allocations: 489.5 kB / 1.374 GB, free: 2.789 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.3909, allocations: 133.5 kB / 1.374 GB, free: 2.656 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.391, allocations: 12 kB / 1.374 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.3914, allocations: 34.7 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.3915, allocations: 15.92 kB / 1.374 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.3916, allocations: 51.98 kB / 1.374 GB, free: 2.547 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004411/0.392, allocations: 299 kB / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.392, allocations: 0 / 1.375 GB, free: 2.254 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004434/0.3924, allocations: 71.98 kB / 1.375 GB, free: 2.184 MB / 1.061 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.00216/0.3946, allocations: 1.025 MB / 1.376 GB, free: 1.129 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.396, allocations: 472.7 kB / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.396, allocations: 0 / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.3967, allocations: 115.8 kB / 1.376 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.3972, allocations: 32.5 kB / 1.376 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.4025, allocations: 3.085 MB / 1.379 GB, free: 13.23 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.4027, allocations: 166.8 kB / 1.379 GB, free: 13.05 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.418e-05/0.4028, allocations: 13.08 kB / 1.379 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.4029, allocations: 31.41 kB / 1.379 GB, free: 13 MB / 1.076 GB Notification: Performance of SimCode: time 1.412e-06/0.4029, allocations: 0 / 1.379 GB, free: 13 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03858/0.4414, allocations: 7.953 MB / 1.387 GB, free: 5.113 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.24, allocations: 10.59 kB / 1.387 GB, free: 5.109 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/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: 19.250046572182328]