Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.466/2.466, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 67.89 kB / 1.107 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7662, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002171/0.7684, allocations: 1.539 MB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.7695, allocations: 0.539 MB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.7695, allocations: 0 / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.7696, allocations: 14.53 kB / 1.273 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.7697, allocations: 26.95 kB / 1.273 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007257/0.7705, allocations: 309.4 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.7709, allocations: 493.3 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.771, allocations: 5.281 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.7713, allocations: 268.2 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.7716, allocations: 145.1 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.881e-05/0.7717, allocations: 26.78 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.7718, allocations: 30.25 kB / 1.275 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.7719, allocations: 115.3 kB / 1.275 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001723/0.7721, allocations: 196.4 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.7725, allocations: 426.6 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.7725, allocations: 1.125 kB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7725, allocations: 0 / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.7725, allocations: 0 / 1.275 GB, free: 5.5 MB / 0.9981 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.001022/0.7735, allocations: 0.8732 MB / 1.276 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.7736, allocations: 13.5 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.7736, allocations: 39.39 kB / 1.276 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.7737, allocations: 54.75 kB / 1.276 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.774, allocations: 310.3 kB / 1.277 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.774, allocations: 17.12 kB / 1.277 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.7741, allocations: 29.5 kB / 1.277 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.775, allocations: 217.5 kB / 1.277 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.7751, allocations: 7.938 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.7751, allocations: 1.969 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.7751, allocations: 1.375 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.7758, allocations: 101.1 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.7762, allocations: 382.8 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/0.7772, allocations: 164.6 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.778, allocations: 103.9 kB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.778, allocations: 2.484 kB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000926/0.7789, allocations: 228.7 kB / 1.278 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.834e-06/0.7789, allocations: 0.9688 kB / 1.278 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002553/0.7815, allocations: 496.2 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.7815, allocations: 58.69 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.7819, allocations: 410.6 kB / 1.279 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/0.782, allocations: 44.03 kB / 1.279 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.782, allocations: 94.83 kB / 1.279 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.7821, allocations: 37.34 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.7823, allocations: 132.7 kB / 1.279 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.441e-05/0.7823, allocations: 321 kB / 1.279 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.7826, allocations: 121 kB / 1.279 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.7828, allocations: 169.7 kB / 1.28 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.7831, allocations: 285 kB / 1.28 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7831, allocations: 4.656 kB / 1.28 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007072/0.7839, allocations: 494.2 kB / 1.28 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.7839, allocations: 95.67 kB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.7839, allocations: 0.8125 kB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.784, allocations: 2.156 kB / 1.28 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.7841, allocations: 28.61 kB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7841, allocations: 3.062 kB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.7846, allocations: 62.64 kB / 1.281 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.7847, allocations: 61.66 kB / 1.281 GB, free: 2.336 MB / 0.9981 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.0001924/0.7849, allocations: 200.4 kB / 1.281 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.7849, allocations: 40.25 kB / 1.281 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.785, allocations: 38.62 kB / 1.281 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.785, allocations: 6.906 kB / 1.281 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.785, allocations: 0 / 1.281 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.785, allocations: 1.172 kB / 1.281 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.787, allocations: 0.747 MB / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.787, allocations: 0 / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.787, allocations: 7.562 kB / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.787, allocations: 0 / 1.282 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.7871, allocations: 21.12 kB / 1.282 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.7871, allocations: 3.031 kB / 1.282 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7871, allocations: 0 / 1.282 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.7887, allocations: 471.5 kB / 1.282 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.7889, allocations: 205.9 kB / 1.282 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.7889, allocations: 13.83 kB / 1.282 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.7894, allocations: 30.17 kB / 1.282 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.7894, allocations: 15.89 kB / 1.282 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.7895, allocations: 61.5 kB / 1.282 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002428/0.7897, allocations: 293.5 kB / 1.283 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7897, allocations: 0 / 1.283 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003521/0.7901, allocations: 65.91 kB / 1.283 GB, free: 1.238 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.001814/0.7919, allocations: 1.028 MB / 1.284 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.7931, allocations: 409.1 kB / 1.284 GB, free: 300 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.7931, allocations: 3.938 kB / 1.284 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007409/0.7938, allocations: 112.5 kB / 1.284 GB, free: 276 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.7942, allocations: 24.62 kB / 1.284 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.7983, allocations: 2.806 MB / 1.287 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.7987, allocations: 0.7686 MB / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.651e-05/0.7988, allocations: 13.3 kB / 1.288 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.7988, allocations: 25.53 kB / 1.288 GB, free: 13.67 MB / 1.014 GB Notification: Performance of SimCode: time 6.82e-07/0.7988, allocations: 0 / 1.288 GB, free: 13.67 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.8283, allocations: 6.154 MB / 1.294 GB, free: 12.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/8.117, allocations: 12.84 kB / 1.294 GB, free: 12.5 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.345178014998964]