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.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.001755/0.001755, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00215/0.00215, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.924/2.924, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> 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: 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.002207/0.002207, allocations: 60.05 kB / 1.117 GB, free: 9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3597, allocations: 169.9 MB / 1.283 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003069/0.3628, allocations: 1.557 MB / 1.285 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3644, allocations: 0.5477 MB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.3645, allocations: 0 / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.3646, allocations: 7.938 kB / 1.285 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3647, allocations: 31.78 kB / 1.285 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3658, allocations: 321.4 kB / 1.286 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006729/0.3664, allocations: 483.5 kB / 1.286 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.3665, allocations: 7.984 kB / 1.286 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.367, allocations: 279.7 kB / 1.286 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.3674, allocations: 151.6 kB / 1.287 GB, free: 472 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.3675, allocations: 28 kB / 1.287 GB, free: 444 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.383e-05/0.3675, allocations: 24 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3677, allocations: 115.6 kB / 1.287 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.3679, allocations: 183.1 kB / 1.287 GB, free: 120 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.3684, allocations: 430.7 kB / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3684, allocations: 0 / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3684, allocations: 0 / 1.287 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.3684, allocations: 0 / 1.287 GB, free: 15.7 MB / 0.9981 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.001429/0.3699, allocations: 0.8028 MB / 1.288 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.3699, allocations: 8.031 kB / 1.288 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.37, allocations: 46.73 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.3701, allocations: 52.66 kB / 1.288 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.3706, allocations: 256.7 kB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.3706, allocations: 24.36 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.43e-05/0.3707, allocations: 32.3 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.3717, allocations: 210 kB / 1.289 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3717, allocations: 3.938 kB / 1.289 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.3718, allocations: 11.98 kB / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3718, allocations: 0 / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007535/0.3725, allocations: 103.9 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006074/0.3731, allocations: 360.3 kB / 1.289 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.3742, allocations: 162.5 kB / 1.289 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.3749, allocations: 108.8 kB / 1.289 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.3749, allocations: 4 kB / 1.289 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.376, allocations: 219.1 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.376, allocations: 0 / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002464/0.3785, allocations: 495.5 kB / 1.29 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.3785, allocations: 55.41 kB / 1.29 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005598/0.3791, allocations: 417.9 kB / 1.291 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.3792, allocations: 37.7 kB / 1.291 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3793, allocations: 101.4 kB / 1.291 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/0.3794, allocations: 35.72 kB / 1.291 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.3796, allocations: 137.4 kB / 1.291 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3798, allocations: 318.8 kB / 1.291 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.3801, allocations: 119.9 kB / 1.291 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.3804, allocations: 175.1 kB / 1.291 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.3809, allocations: 273.2 kB / 1.292 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3809, allocations: 0 / 1.292 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008823/0.3817, allocations: 490.9 kB / 1.292 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.682e-05/0.3818, allocations: 95.31 kB / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3818, allocations: 0 / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3819, allocations: 4 kB / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.382, allocations: 23.91 kB / 1.292 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3821, allocations: 4 kB / 1.292 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.3825, allocations: 64.03 kB / 1.292 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.3826, allocations: 55.98 kB / 1.292 GB, free: 10.17 MB / 0.9981 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.0002812/0.3829, allocations: 191.7 kB / 1.293 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.383, allocations: 51.64 kB / 1.293 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.029e-05/0.3831, allocations: 35.69 kB / 1.293 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3831, allocations: 0 / 1.293 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3831, allocations: 4 kB / 1.293 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3831, allocations: 0 / 1.293 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.3853, allocations: 0.7161 MB / 1.293 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3854, allocations: 0 / 1.293 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.3854, allocations: 8 kB / 1.293 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3854, allocations: 3.938 kB / 1.293 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.3854, allocations: 27.91 kB / 1.293 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3854, allocations: 0 / 1.293 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3854, allocations: 4 kB / 1.293 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.3871, allocations: 490.3 kB / 1.294 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.3874, allocations: 125.6 kB / 1.294 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.891e-05/0.3875, allocations: 23.97 kB / 1.294 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.388, allocations: 23.97 kB / 1.294 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.388, allocations: 7.984 kB / 1.294 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/0.3881, allocations: 63.97 kB / 1.294 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000323/0.3884, allocations: 299.1 kB / 1.294 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3884, allocations: 0 / 1.294 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003983/0.3888, allocations: 60 kB / 1.295 GB, free: 8 MB / 0.9981 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.00204/0.3908, allocations: 1.025 MB / 1.296 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001348/0.3922, allocations: 410.7 kB / 1.296 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3922, allocations: 0 / 1.296 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.3929, allocations: 111.8 kB / 1.296 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3933, allocations: 25.64 kB / 1.296 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004783/0.3981, allocations: 2.786 MB / 1.299 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.3985, allocations: 0.7708 MB / 1.3 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.068e-05/0.3986, allocations: 13.08 kB / 1.3 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.973e-05/0.3987, allocations: 23.42 kB / 1.3 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/0.3987, allocations: 4 kB / 1.3 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.4376, allocations: 6.333 MB / 1.306 GB, free: 12.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.9, allocations: 9.672 kB / 1.306 GB, free: 12.33 MB / 1.014 GB " [Timeout remaining time 288] (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/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: 18.740609027910978]