Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001451/0.001451, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001479/0.001479, allocations: 219.8 kB / 22.25 MB, free: 5.262 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.277/3.277, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_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.002081/0.002081, allocations: 64.08 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4399, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002713/0.4426, allocations: 1.519 MB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4439, allocations: 0.519 MB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.4439, allocations: 3.938 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.359e-05/0.444, allocations: 11.92 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.4441, allocations: 27.86 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007885/0.4449, allocations: 316.6 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.4455, allocations: 487.5 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.4455, allocations: 8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.4459, allocations: 283.6 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.4462, allocations: 151.6 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.4463, allocations: 28 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.4464, allocations: 28 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.4465, allocations: 111.7 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001921/0.4467, allocations: 155.3 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.4471, allocations: 438.6 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4472, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4472, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.4472, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 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.4485, allocations: 0.7988 MB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.4485, allocations: 12.03 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.28e-05/0.4486, allocations: 34.75 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.4487, allocations: 56.69 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.4492, allocations: 264.7 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.4492, allocations: 16.36 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.4493, allocations: 28.36 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.4504, allocations: 208 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4504, allocations: 7.938 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.4504, allocations: 4 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.4504, allocations: 7.984 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.4512, allocations: 91.92 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.4517, allocations: 308.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.4528, allocations: 174.4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008174/0.4536, allocations: 100.8 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4536, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.4547, allocations: 227.1 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.4547, allocations: 0 / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002752/0.4574, allocations: 495.7 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.4575, allocations: 59.41 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004392/0.4579, allocations: 409.9 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.458, allocations: 41.69 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.4581, allocations: 97.44 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.294e-05/0.4581, allocations: 43.62 kB / 1.333 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.4584, allocations: 133.5 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4585, allocations: 318.8 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.4588, allocations: 191.3 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.4592, allocations: 249.2 kB / 1.334 GB, free: 8.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.4596, allocations: 271 kB / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4596, allocations: 0 / 1.334 GB, free: 8.574 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009124/0.4605, allocations: 0.5478 MB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/0.4606, allocations: 84.88 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4606, allocations: 4 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4606, allocations: 0 / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.4608, allocations: 27.91 kB / 1.335 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4608, allocations: 4 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/0.4615, allocations: 56 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.4617, allocations: 63.98 kB / 1.335 GB, free: 7.75 MB / 1.029 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.0003467/0.462, allocations: 196.2 kB / 1.335 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4621, allocations: 43.66 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.456e-05/0.4622, allocations: 39.69 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.4622, allocations: 4 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4622, allocations: 3.938 kB / 1.335 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4623, allocations: 3.984 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.4658, allocations: 0.7048 MB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4658, allocations: 0 / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.4659, allocations: 7.984 kB / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4659, allocations: 0 / 1.336 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.993e-05/0.466, allocations: 19.98 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.466, allocations: 0 / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.466, allocations: 8 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.4687, allocations: 497.1 kB / 1.336 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.4691, allocations: 129.6 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4692, allocations: 12 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007315/0.4699, allocations: 35.95 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.47, allocations: 7.984 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4701, allocations: 55.98 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004876/0.4706, allocations: 295.1 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4706, allocations: 0 / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006461/0.4712, allocations: 63.98 kB / 1.337 GB, free: 5.578 MB / 1.029 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.003193/0.4744, allocations: 1.045 MB / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.4766, allocations: 476.7 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4766, allocations: 4.062 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.4778, allocations: 107.9 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.4784, allocations: 34.5 kB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007159/0.4856, allocations: 3.078 MB / 1.342 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.4859, allocations: 167 kB / 1.342 GB, free: 428 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.192e-05/0.486, allocations: 13.08 kB / 1.342 GB, free: 416 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.4861, allocations: 19.42 kB / 1.342 GB, free: 396 kB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.4861, allocations: 4 kB / 1.342 GB, free: 392 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.5282, allocations: 8.004 MB / 1.35 GB, free: 8.441 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.02, allocations: 7.984 kB / 1.35 GB, free: 8.434 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.17232565500308]