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.001378/0.001378, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001668/0.001668, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.235/3.235, 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.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.002098/0.002098, allocations: 68.47 kB / 1.149 GB, free: 26.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3654, allocations: 176.1 MB / 1.321 GB, free: 3.418 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003292/0.3687, allocations: 1.541 MB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.37, allocations: 0.5461 MB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.3701, allocations: 0 / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.972e-05/0.3702, allocations: 11.88 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3704, allocations: 23.86 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.3713, allocations: 316.7 kB / 1.323 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.372, allocations: 491.4 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.503e-05/0.372, allocations: 7.984 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.3725, allocations: 279.6 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.3729, allocations: 147.4 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.373, allocations: 24 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.503e-05/0.3731, allocations: 28 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3732, allocations: 119.6 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.3734, allocations: 187.1 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005475/0.374, allocations: 422.7 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.374, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.012e-06/0.374, allocations: 0 / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.374, allocations: 0 / 1.325 GB, free: 15.31 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.00169/0.3757, allocations: 0.8781 MB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.3757, allocations: 15.98 kB / 1.326 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.27e-05/0.3758, allocations: 38.73 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.376, allocations: 52.7 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.3765, allocations: 330.5 kB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.3766, allocations: 12.38 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.3767, allocations: 28.36 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3778, allocations: 210 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3778, allocations: 3.938 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.3778, allocations: 4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3778, allocations: 4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.3787, allocations: 95.92 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.3793, allocations: 389.3 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.3805, allocations: 170.4 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.3813, allocations: 96.78 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.3813, allocations: 4 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.3824, allocations: 227.1 kB / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.595e-06/0.3824, allocations: 0 / 1.327 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002881/0.3853, allocations: 487.6 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.3854, allocations: 63.39 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.3859, allocations: 413.9 kB / 1.328 GB, free: 11.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.386, allocations: 41.69 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3861, allocations: 89.45 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.586e-05/0.3861, allocations: 51.67 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.3864, allocations: 121.5 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3865, allocations: 326.8 kB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.3868, allocations: 119.9 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003217/0.3872, allocations: 170.5 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.3876, allocations: 274.5 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3876, allocations: 7.938 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009378/0.3885, allocations: 494.4 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3886, allocations: 91.31 kB / 1.33 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3886, allocations: 7.984 kB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3887, allocations: 0 / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.3888, allocations: 23.92 kB / 1.33 GB, free: 9.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.3889, allocations: 4 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.3894, allocations: 60.03 kB / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/0.3895, allocations: 59.98 kB / 1.33 GB, free: 9.594 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.0002702/0.3898, allocations: 196 kB / 1.33 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.3898, allocations: 43.66 kB / 1.33 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.3899, allocations: 43.73 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3899, allocations: 4 kB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.39, allocations: 0 / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.39, allocations: 7.984 kB / 1.33 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.3925, allocations: 0.7408 MB / 1.331 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3925, allocations: 0 / 1.331 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-05/0.3925, allocations: 4 kB / 1.331 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.3925, allocations: 11.94 kB / 1.331 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.3926, allocations: 19.97 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3926, allocations: 0 / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3926, allocations: 0 / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.3945, allocations: 479.4 kB / 1.332 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.3948, allocations: 200.7 kB / 1.332 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.3949, allocations: 12 kB / 1.332 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.3955, allocations: 27.95 kB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.3955, allocations: 15.98 kB / 1.332 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.3956, allocations: 51.98 kB / 1.332 GB, free: 7.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003411/0.3959, allocations: 299.1 kB / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3959, allocations: 0 / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004266/0.3963, allocations: 67.98 kB / 1.332 GB, free: 7.293 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.002329/0.3987, allocations: 1.027 MB / 1.333 GB, free: 6.238 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.4001, allocations: 398.5 kB / 1.334 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4001, allocations: 8.312 kB / 1.334 GB, free: 5.816 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.401, allocations: 106 kB / 1.334 GB, free: 5.715 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.4014, allocations: 29.53 kB / 1.334 GB, free: 5.684 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.4063, allocations: 2.801 MB / 1.336 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.4067, allocations: 0.7747 MB / 1.337 GB, free: 1.941 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.213e-05/0.4068, allocations: 13.08 kB / 1.337 GB, free: 1.926 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.4069, allocations: 23.38 kB / 1.337 GB, free: 1.902 MB / 1.029 GB Notification: Performance of SimCode: time 8.82e-07/0.4069, allocations: 0 / 1.337 GB, free: 1.902 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.033/0.4399, allocations: 6.136 MB / 1.343 GB, free: 11.76 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/8.888, allocations: 23.55 kB / 1.343 GB, free: 11.75 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.67391172493808]