Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00172/0.00172, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.002368/0.002368, allocations: 222.7 kB / 22.25 MB, free: 5.105 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.812 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.217/3.217, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_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.003209/0.003209, allocations: 70.86 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4099, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002814/0.4128, allocations: 1.52 MB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.414, allocations: 0.5266 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.4141, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.003e-05/0.4142, allocations: 3.938 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.4143, allocations: 31.78 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008219/0.4151, allocations: 321.9 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006073/0.4157, allocations: 487.5 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.4158, allocations: 8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004514/0.4162, allocations: 283.6 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.4166, allocations: 144.6 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.4167, allocations: 28 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.4167, allocations: 24 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.4169, allocations: 119.6 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.4171, allocations: 159.3 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.4176, allocations: 434.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4176, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4176, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4176, allocations: 0 / 1.33 GB, free: 13.48 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.001545/0.4192, allocations: 0.795 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4192, allocations: 12.02 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.4193, allocations: 38.75 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.4194, allocations: 48.7 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.4199, allocations: 256.7 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.657e-05/0.42, allocations: 24.36 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.744e-05/0.42, allocations: 28.36 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4211, allocations: 208.9 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4211, allocations: 3.938 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.4211, allocations: 4 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4211, allocations: 3.938 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/0.422, allocations: 115.8 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.4224, allocations: 304.5 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.4235, allocations: 162.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008391/0.4244, allocations: 108.7 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.4244, allocations: 7.984 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.4254, allocations: 219.5 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.4254, allocations: 0 / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002686/0.4281, allocations: 489 kB / 1.332 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4281, allocations: 59.39 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/0.4286, allocations: 417.9 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.4286, allocations: 41.69 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.4288, allocations: 97.44 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.4289, allocations: 43.69 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.4291, allocations: 121.5 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4292, allocations: 326.8 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.4296, allocations: 191.3 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.4299, allocations: 243 kB / 1.334 GB, free: 8.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.4304, allocations: 274.4 kB / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4304, allocations: 3.938 kB / 1.334 GB, free: 8.609 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001032/0.4314, allocations: 0.5504 MB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.66e-05/0.4315, allocations: 83.31 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4315, allocations: 4 kB / 1.335 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.4316, allocations: 12.12 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.4317, allocations: 19.97 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.4317, allocations: 4 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.4323, allocations: 55.84 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/0.4324, allocations: 67.92 kB / 1.335 GB, free: 7.777 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.0002608/0.4327, allocations: 184.3 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.4327, allocations: 51.64 kB / 1.335 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.037e-05/0.4328, allocations: 43.69 kB / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4328, allocations: 0 / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4328, allocations: 0 / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4328, allocations: 0 / 1.335 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.4354, allocations: 0.7045 MB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4354, allocations: 0 / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.4354, allocations: 4 kB / 1.336 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4354, allocations: 4 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/0.4355, allocations: 19.97 kB / 1.336 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4355, allocations: 7.938 kB / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4355, allocations: 0 / 1.336 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.4375, allocations: 490 kB / 1.336 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.4378, allocations: 137.5 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-05/0.4378, allocations: 8 kB / 1.337 GB, free: 6.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.4384, allocations: 35.97 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.4384, allocations: 7.984 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-05/0.4385, allocations: 59.91 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003165/0.4388, allocations: 299.1 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4388, allocations: 4 kB / 1.337 GB, free: 5.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003669/0.4392, allocations: 67.98 kB / 1.337 GB, free: 5.605 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.002267/0.4414, allocations: 1.041 MB / 1.338 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.4428, allocations: 469.9 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4428, allocations: 4 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.4436, allocations: 110.8 kB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.444, allocations: 33.62 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.4487, allocations: 3.084 MB / 1.342 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.4489, allocations: 159 kB / 1.342 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.845e-05/0.449, allocations: 17.08 kB / 1.342 GB, free: 448 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.4491, allocations: 27.42 kB / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of SimCode: time 1.213e-06/0.4491, allocations: 0 / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.4851, allocations: 7.99 MB / 1.35 GB, free: 8.477 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.07, allocations: 6.094 kB / 1.35 GB, free: 8.473 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.74174604000291]