Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.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.000993/0.000993, allocations: 108.3 kB / 19.73 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.001848/0.001848, allocations: 212.6 kB / 23.02 MB, free: 2.969 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 0.9586/0.9586, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.072/2.072, allocations: 0.5046 GB / 0.8104 GB, free: 2.77 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.Examples.CalendarTime,fileNamePrefix="Buildings_13_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_13_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 63.91 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.834, allocations: 180 MB / 1.352 GB, free: 1.723 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002006/0.836, allocations: 1.515 MB / 1.354 GB, free: 200 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.837, allocations: 0.5321 MB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.8371, allocations: 0 / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.8372, allocations: 11.86 kB / 1.354 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.8373, allocations: 27.84 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.8379, allocations: 313.5 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000431/0.8383, allocations: 479.5 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.8384, allocations: 8 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.8387, allocations: 283.6 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.8389, allocations: 138.2 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.34e-05/0.839, allocations: 28 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.839, allocations: 24 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.8391, allocations: 111.7 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.8393, allocations: 155.3 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.8396, allocations: 428.7 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8396, allocations: 0 / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8396, allocations: 7.938 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.8396, allocations: 4 kB / 1.356 GB, free: 13.69 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.0009162/0.8405, allocations: 0.7989 MB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.8405, allocations: 8.922 kB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.8406, allocations: 50.66 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.8407, allocations: 52.64 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.841, allocations: 252.7 kB / 1.357 GB, free: 12.44 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.841, allocations: 20.36 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.8411, allocations: 28.36 kB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.8416, allocations: 210 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.8416, allocations: 3.938 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.8417, allocations: 7.984 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8417, allocations: 0 / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.842, allocations: 103.9 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.8423, allocations: 304.5 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005381/0.8429, allocations: 158.5 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.8432, allocations: 104.8 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.8433, allocations: 7.984 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.8438, allocations: 222.2 kB / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.8438, allocations: 0 / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.00126/0.8451, allocations: 497 kB / 1.359 GB, free: 10.73 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.8451, allocations: 63.39 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.8454, allocations: 409.9 kB / 1.36 GB, free: 10.24 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/0.8454, allocations: 41.64 kB / 1.36 GB, free: 10.19 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.8455, allocations: 105.4 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.8455, allocations: 35.8 kB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.8456, allocations: 121.5 kB / 1.36 GB, free: 9.926 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.8457, allocations: 326.8 kB / 1.36 GB, free: 9.598 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8459, allocations: 187.3 kB / 1.36 GB, free: 9.402 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.8461, allocations: 245.7 kB / 1.361 GB, free: 9.129 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.8463, allocations: 270.8 kB / 1.361 GB, free: 8.832 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.8463, allocations: 0 / 1.361 GB, free: 8.832 MB / 1.042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005596/0.8469, allocations: 0.5546 MB / 1.361 GB, free: 8.246 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.847, allocations: 87.31 kB / 1.361 GB, free: 8.148 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.847, allocations: 3.984 kB / 1.361 GB, free: 8.145 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.847, allocations: 4 kB / 1.361 GB, free: 8.141 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.8471, allocations: 15.98 kB / 1.361 GB, free: 8.125 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8471, allocations: 7.938 kB / 1.361 GB, free: 8.117 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.8474, allocations: 60.09 kB / 1.362 GB, free: 8.059 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/0.8474, allocations: 63.91 kB / 1.362 GB, free: 7.996 MB / 1.042 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0001897/0.8476, allocations: 200.9 kB / 1.362 GB, free: 7.797 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.8477, allocations: 43.7 kB / 1.362 GB, free: 7.754 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.8477, allocations: 39.69 kB / 1.362 GB, free: 7.719 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.8477, allocations: 3.984 kB / 1.362 GB, free: 7.715 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8478, allocations: 3.938 kB / 1.362 GB, free: 7.711 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.8478, allocations: 7.984 kB / 1.362 GB, free: 7.703 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.849, allocations: 0.6966 MB / 1.363 GB, free: 6.953 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.849, allocations: 3.938 kB / 1.363 GB, free: 6.949 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.849, allocations: 11.92 kB / 1.363 GB, free: 6.938 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.849, allocations: 8 kB / 1.363 GB, free: 6.93 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.849, allocations: 19.98 kB / 1.363 GB, free: 6.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.849, allocations: 3.984 kB / 1.363 GB, free: 6.906 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.849, allocations: 0 / 1.363 GB, free: 6.906 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.8499, allocations: 473.8 kB / 1.363 GB, free: 6.43 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.85, allocations: 145.4 kB / 1.363 GB, free: 6.289 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.8501, allocations: 8 kB / 1.363 GB, free: 6.281 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.8503, allocations: 36.58 kB / 1.363 GB, free: 6.246 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.8503, allocations: 7.984 kB / 1.363 GB, free: 6.238 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.8504, allocations: 55.98 kB / 1.363 GB, free: 6.184 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001943/0.8506, allocations: 295.1 kB / 1.364 GB, free: 5.895 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8506, allocations: 0 / 1.364 GB, free: 5.895 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002335/0.8508, allocations: 67.98 kB / 1.364 GB, free: 5.828 MB / 1.042 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.001041/0.8518, allocations: 1.03 MB / 1.365 GB, free: 4.77 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007066/0.8525, allocations: 479.9 kB / 1.365 GB, free: 4.266 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.8525, allocations: 4 kB / 1.365 GB, free: 4.262 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/0.8529, allocations: 111.8 kB / 1.365 GB, free: 4.152 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.8532, allocations: 25.64 kB / 1.365 GB, free: 4.125 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.8559, allocations: 3.084 MB / 1.368 GB, free: 0.8633 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.856, allocations: 162.8 kB / 1.368 GB, free: 0.6836 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.593e-05/0.8561, allocations: 13.08 kB / 1.368 GB, free: 0.6719 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.8561, allocations: 31.42 kB / 1.368 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of SimCode: time 5.91e-07/0.8561, allocations: 0 / 1.368 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/0.9847, allocations: 8.068 MB / 1.376 GB, free: 8.629 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/8.316, allocations: 11.31 kB / 1.376 GB, free: 8.621 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=40000 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Time_Examples_CalendarTime.fmu) > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime_fmpy_res.csv --start-time 0 --stop-time 1e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 40000 ../Buildings_13_Buildings_Utilities_Time_Examples_CalendarTime.fmu) > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.043591145426035]