Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001505/0.001505, 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.001474/0.001474, allocations: 220.9 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.988 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.96/2.96, allocations: 476.7 MB / 0.7707 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths",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.002033/0.002033, allocations: 66.03 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.354, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003006/0.357, allocations: 1.553 MB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3585, allocations: 0.5439 MB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.3585, allocations: 3.938 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.3587, allocations: 7.922 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.3588, allocations: 27.84 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.3598, allocations: 324.4 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000699/0.3604, allocations: 483.5 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.3605, allocations: 4 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.361, allocations: 283.6 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.3613, allocations: 143.7 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.151e-05/0.3614, allocations: 24 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.3615, allocations: 28 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3617, allocations: 119.6 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.3619, allocations: 187.1 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.3624, allocations: 429.9 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3625, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3625, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.3625, allocations: 3.938 kB / 1.287 GB, free: 7.664 MB / 0.9825 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.001527/0.364, allocations: 0.8028 MB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.364, allocations: 12.03 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.104e-05/0.3641, allocations: 30.75 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.3643, allocations: 56.7 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.3648, allocations: 264.6 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.3648, allocations: 16.36 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.3649, allocations: 28.36 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.366, allocations: 214 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.366, allocations: 3.938 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.366, allocations: 0 / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.366, allocations: 8 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007012/0.3667, allocations: 95.91 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005645/0.3673, allocations: 360.3 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009722/0.3682, allocations: 170.4 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.3689, allocations: 104.8 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.369, allocations: 0 / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.37, allocations: 227.1 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.37, allocations: 0 / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002366/0.3723, allocations: 488.3 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.3724, allocations: 63.39 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.3729, allocations: 409.9 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.268e-05/0.373, allocations: 41.69 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.3731, allocations: 93.44 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.711e-05/0.3732, allocations: 47.67 kB / 1.291 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.3734, allocations: 137.3 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.3736, allocations: 322.8 kB / 1.291 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.3739, allocations: 111.9 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.3742, allocations: 167.2 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.3747, allocations: 281.2 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3747, allocations: 4 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000961/0.3757, allocations: 488.7 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.3758, allocations: 91.31 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3758, allocations: 4 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3759, allocations: 0 / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.3761, allocations: 31.91 kB / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.3761, allocations: 8 kB / 1.292 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.3766, allocations: 64.02 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.3767, allocations: 55.98 kB / 1.292 GB, free: 2.148 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.0002921/0.377, allocations: 191.7 kB / 1.293 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/0.3771, allocations: 43.66 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.05e-05/0.3772, allocations: 43.67 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3772, allocations: 7.938 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3772, allocations: 0 / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3772, allocations: 4 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.3794, allocations: 0.7161 MB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3794, allocations: 0 / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.3795, allocations: 7.984 kB / 1.293 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3795, allocations: 4 kB / 1.293 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.3795, allocations: 19.98 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3795, allocations: 0 / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3795, allocations: 0 / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3812, allocations: 487.3 kB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.3815, allocations: 125.6 kB / 1.294 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.3815, allocations: 8 kB / 1.294 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000435/0.382, allocations: 35.95 kB / 1.294 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.382, allocations: 7.984 kB / 1.294 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/0.3821, allocations: 55.98 kB / 1.294 GB, free: 344 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003436/0.3824, allocations: 299.1 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3824, allocations: 0 / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004198/0.3829, allocations: 68.03 kB / 1.294 GB, free: 15.98 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.002103/0.385, allocations: 1.029 MB / 1.295 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.3862, allocations: 402.7 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3862, allocations: 4.062 kB / 1.296 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006962/0.3869, allocations: 107.9 kB / 1.296 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.3873, allocations: 27.66 kB / 1.296 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004429/0.3917, allocations: 2.787 MB / 1.299 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.3921, allocations: 0.7708 MB / 1.299 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.229e-05/0.3922, allocations: 13.08 kB / 1.299 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.3923, allocations: 27.41 kB / 1.3 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/0.3923, allocations: 4 kB / 1.3 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.4288, allocations: 6.345 MB / 1.306 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.83, allocations: 15.28 kB / 1.306 GB, free: 4.293 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.73816962284036]