Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001835/0.001835, allocations: 111 kB / 16.46 MB, free: 6.453 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.002323/0.002323, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.254/3.254, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.002138/0.002138, allocations: 70.55 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3406, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002886/0.3435, allocations: 1.544 MB / 1.322 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.3449, allocations: 0.5439 MB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.345, allocations: 0 / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.3451, allocations: 11.86 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.3452, allocations: 27.84 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008713/0.3461, allocations: 309.9 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.3467, allocations: 495.3 kB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3467, allocations: 8 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003952/0.3471, allocations: 267.6 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3474, allocations: 151.4 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.3475, allocations: 28 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.3476, allocations: 28.05 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3477, allocations: 127.5 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.3479, allocations: 179.1 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.3484, allocations: 422.7 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3484, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3484, allocations: 0 / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3484, allocations: 0 / 1.325 GB, free: 15.27 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.001359/0.3498, allocations: 0.8819 MB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3498, allocations: 11.98 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.3499, allocations: 46.69 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.35, allocations: 52.7 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.3504, allocations: 318.5 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.3505, allocations: 16.36 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.3506, allocations: 28.36 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.3517, allocations: 207.9 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.3517, allocations: 11.94 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.3517, allocations: 7.984 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3517, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008733/0.3526, allocations: 99.92 kB / 1.326 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.3531, allocations: 385.3 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.3543, allocations: 174.4 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008517/0.3552, allocations: 100.8 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3552, allocations: 4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.3562, allocations: 219.1 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3562, allocations: 0 / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002907/0.3591, allocations: 493 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.3592, allocations: 55.41 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004822/0.3596, allocations: 417.9 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.3597, allocations: 37.7 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.3598, allocations: 105.4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.3599, allocations: 43.62 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.3601, allocations: 125.5 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3602, allocations: 326.8 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.3605, allocations: 119.9 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.3608, allocations: 165.9 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.3613, allocations: 275 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3613, allocations: 0 / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009097/0.3622, allocations: 492.7 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.3623, allocations: 91.31 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3623, allocations: 0 / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3623, allocations: 4 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3625, allocations: 27.91 kB / 1.33 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3625, allocations: 0 / 1.33 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.363, allocations: 64.03 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.3631, allocations: 59.98 kB / 1.33 GB, free: 9.551 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.0002603/0.3634, allocations: 192 kB / 1.33 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3635, allocations: 47.64 kB / 1.33 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.3635, allocations: 39.75 kB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3635, allocations: 0 / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3635, allocations: 4 kB / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.3636, allocations: 4 kB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.366, allocations: 0.7485 MB / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.366, allocations: 0 / 1.331 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.366, allocations: 12 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.366, allocations: 0 / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.3661, allocations: 19.97 kB / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3661, allocations: 4 kB / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3661, allocations: 0 / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.368, allocations: 481.8 kB / 1.332 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.3683, allocations: 200.7 kB / 1.332 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.3684, allocations: 12 kB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.3689, allocations: 27.97 kB / 1.332 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.369, allocations: 11.98 kB / 1.332 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/0.369, allocations: 59.97 kB / 1.332 GB, free: 7.602 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003269/0.3694, allocations: 295.1 kB / 1.332 GB, free: 7.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3694, allocations: 0 / 1.332 GB, free: 7.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004326/0.3698, allocations: 67.98 kB / 1.332 GB, free: 7.25 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.00239/0.3722, allocations: 1.03 MB / 1.333 GB, free: 6.191 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.3737, allocations: 409.2 kB / 1.334 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3737, allocations: 0 / 1.334 GB, free: 5.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008461/0.3745, allocations: 111.8 kB / 1.334 GB, free: 5.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3749, allocations: 27.89 kB / 1.334 GB, free: 5.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.3796, allocations: 2.796 MB / 1.336 GB, free: 2.703 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.3801, allocations: 0.7747 MB / 1.337 GB, free: 1.898 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.688e-05/0.3802, allocations: 9.094 kB / 1.337 GB, free: 1.887 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.088e-05/0.3802, allocations: 23.42 kB / 1.337 GB, free: 1.863 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.3802, allocations: 4 kB / 1.337 GB, free: 1.859 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.4116, allocations: 6.132 MB / 1.343 GB, free: 11.72 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.589, allocations: 19.75 kB / 1.343 GB, free: 11.71 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: 15.345849674893543]