Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000952/0.000952, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001124/0.001124, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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.084/1.084, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.046/2.046, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009567/0.0009567, allocations: 77.25 kB / 1.177 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.349, allocations: 180 MB / 1.352 GB, free: 9.078 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002025/0.3511, allocations: 1.532 MB / 1.354 GB, free: 7.531 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.352, allocations: 0.5188 MB / 1.354 GB, free: 7.012 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.3521, allocations: 0 / 1.354 GB, free: 7.012 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.3522, allocations: 11.86 kB / 1.354 GB, free: 7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.3523, allocations: 35.84 kB / 1.354 GB, free: 6.965 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.3529, allocations: 319.2 kB / 1.355 GB, free: 6.656 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.3534, allocations: 487.4 kB / 1.355 GB, free: 6.18 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.3535, allocations: 0 / 1.355 GB, free: 6.18 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.3537, allocations: 283.6 kB / 1.356 GB, free: 5.902 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3539, allocations: 135.7 kB / 1.356 GB, free: 5.77 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.354, allocations: 32 kB / 1.356 GB, free: 5.738 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.886e-05/0.354, allocations: 28 kB / 1.356 GB, free: 5.711 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.3541, allocations: 111.6 kB / 1.356 GB, free: 5.602 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3542, allocations: 159.3 kB / 1.356 GB, free: 5.445 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003096/0.3545, allocations: 430.6 kB / 1.356 GB, free: 5.023 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3545, allocations: 0 / 1.356 GB, free: 5.023 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3545, allocations: 0 / 1.356 GB, free: 5.023 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.3546, allocations: 0 / 1.356 GB, free: 5.023 MB / 1.042 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.0008216/0.3554, allocations: 0.795 MB / 1.357 GB, free: 4.156 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3554, allocations: 8.922 kB / 1.357 GB, free: 4.148 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.3555, allocations: 42.75 kB / 1.357 GB, free: 4.098 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.3555, allocations: 52.69 kB / 1.357 GB, free: 4.047 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3558, allocations: 260.7 kB / 1.357 GB, free: 3.773 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.3558, allocations: 20.36 kB / 1.358 GB, free: 3.754 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.3559, allocations: 28.36 kB / 1.358 GB, free: 3.727 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.3564, allocations: 209.9 kB / 1.358 GB, free: 3.516 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3564, allocations: 3.938 kB / 1.358 GB, free: 3.512 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.3564, allocations: 11.98 kB / 1.358 GB, free: 3.5 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3564, allocations: 0 / 1.358 GB, free: 3.5 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.3567, allocations: 95.92 kB / 1.358 GB, free: 3.406 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.357, allocations: 304.5 kB / 1.358 GB, free: 3.066 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.3575, allocations: 162.5 kB / 1.358 GB, free: 2.898 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.3578, allocations: 97.16 kB / 1.358 GB, free: 2.801 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3578, allocations: 4 kB / 1.358 GB, free: 2.797 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.3583, allocations: 241.8 kB / 1.359 GB, free: 2.551 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.3583, allocations: 0 / 1.359 GB, free: 2.551 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.001191/0.3595, allocations: 493 kB / 1.359 GB, free: 2.062 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3595, allocations: 59.41 kB / 1.359 GB, free: 1.992 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.3598, allocations: 405.9 kB / 1.36 GB, free: 1.578 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.3598, allocations: 41.69 kB / 1.36 GB, free: 1.531 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.3599, allocations: 93.44 kB / 1.36 GB, free: 1.438 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3599, allocations: 43.69 kB / 1.36 GB, free: 1.395 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.36, allocations: 129.5 kB / 1.36 GB, free: 1.262 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.62e-05/0.3601, allocations: 322.8 kB / 1.36 GB, free: 0.9375 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.3603, allocations: 191.2 kB / 1.36 GB, free: 0.7383 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.3605, allocations: 249.8 kB / 1.361 GB, free: 472 kB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3607, allocations: 271 kB / 1.361 GB, free: 168 kB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3607, allocations: 0 / 1.361 GB, free: 168 kB / 1.042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005333/0.3613, allocations: 0.5526 MB / 1.361 GB, free: 15.58 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.3613, allocations: 91.28 kB / 1.361 GB, free: 15.48 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3613, allocations: 0 / 1.361 GB, free: 15.48 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3613, allocations: 4 kB / 1.361 GB, free: 15.48 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3614, allocations: 31.91 kB / 1.361 GB, free: 15.45 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.3614, allocations: 0 / 1.361 GB, free: 15.45 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.3617, allocations: 59.84 kB / 1.362 GB, free: 15.39 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.3617, allocations: 59.98 kB / 1.362 GB, free: 15.33 MB / 1.057 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.0001499/0.3619, allocations: 202.9 kB / 1.362 GB, free: 15.12 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.3619, allocations: 39.7 kB / 1.362 GB, free: 15.09 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.3621, allocations: 39.69 kB / 1.362 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3621, allocations: 0 / 1.362 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3621, allocations: 4 kB / 1.362 GB, free: 15.05 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3621, allocations: 3.984 kB / 1.362 GB, free: 15.04 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.3632, allocations: 0.7083 MB / 1.363 GB, free: 14.28 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3632, allocations: 3.938 kB / 1.363 GB, free: 14.28 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.3632, allocations: 11.98 kB / 1.363 GB, free: 14.27 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3632, allocations: 0 / 1.363 GB, free: 14.27 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.3632, allocations: 15.98 kB / 1.363 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3633, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3633, allocations: 0 / 1.363 GB, free: 14.25 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000808/0.3641, allocations: 489.8 kB / 1.363 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.3642, allocations: 129.5 kB / 1.363 GB, free: 13.63 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.3643, allocations: 16 kB / 1.363 GB, free: 13.62 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3645, allocations: 31.95 kB / 1.363 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.3645, allocations: 11.98 kB / 1.363 GB, free: 13.57 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.3646, allocations: 59.92 kB / 1.363 GB, free: 13.52 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001844/0.3647, allocations: 295.1 kB / 1.364 GB, free: 13.23 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.3647, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002209/0.365, allocations: 63.98 kB / 1.364 GB, free: 13.17 MB / 1.057 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.001016/0.366, allocations: 1.039 MB / 1.365 GB, free: 12.1 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0006759/0.3667, allocations: 472.1 kB / 1.365 GB, free: 11.61 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3667, allocations: 0 / 1.365 GB, free: 11.61 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.367, allocations: 112.2 kB / 1.365 GB, free: 11.5 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3672, allocations: 33.56 kB / 1.365 GB, free: 11.46 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.3698, allocations: 3.066 MB / 1.368 GB, free: 8.215 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3699, allocations: 178.7 kB / 1.368 GB, free: 8.02 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 4.266e-05/0.37, allocations: 17.06 kB / 1.368 GB, free: 8.004 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.37, allocations: 19.42 kB / 1.368 GB, free: 7.984 MB / 1.057 GB Notification: Performance of SimCode: time 8.12e-07/0.37, allocations: 0 / 1.368 GB, free: 7.984 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08111/0.4511, allocations: 7.963 MB / 1.376 GB, free: 92 kB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.318/7.769, allocations: 7.969 kB / 1.376 GB, free: 88 kB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu) > Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths_fmpy_res.csv --start-time 172800 --stop-time 345600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 ../Buildings_13_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu) > Buildings_13_Buildings.Utilities.Time.Validation.CalendarTimeMonths_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.322718636132777]