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.0008742/0.0008742, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001919/0.001919, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.8702/0.8702, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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 1.875/1.875, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.833e-06/1.833e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.418e-05, allocations: 5.797 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.005474/0.005498, allocations: 1.53 MB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.006714, allocations: 0.5273 MB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.554e-05/0.0068, allocations: 0 / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.006907, allocations: 11.86 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.007033, allocations: 35.62 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008365/0.007869, allocations: 322.2 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.01147, allocations: 483.4 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.01153, allocations: 7.938 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005123/0.01204, allocations: 363.6 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.01232, allocations: 127.7 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.0124, allocations: 24 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.01246, allocations: 32 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.01282, allocations: 111.7 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.01298, allocations: 131.7 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.01344, allocations: 462.8 kB / 1.005 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01344, allocations: 0 / 1.005 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.724e-06/0.01345, allocations: 4 kB / 1.005 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.01345, allocations: 0 / 1.005 GB, free: 9.434 MB / 0.9636 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.004135/0.01759, allocations: 0.795 MB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.01763, allocations: 9.344 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.005e-05/0.01768, allocations: 42.73 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.01779, allocations: 56.66 kB / 1.006 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.01814, allocations: 256 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.01819, allocations: 20.36 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.01824, allocations: 20.38 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.01894, allocations: 230 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.01895, allocations: 8.062 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.01898, allocations: 4.375 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.01898, allocations: 8.125 kB / 1.006 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.01948, allocations: 119 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003396/0.02288, allocations: 312.5 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/0.02365, allocations: 186.4 kB / 1.007 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.02413, allocations: 112.8 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.02415, allocations: 0 / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/0.02484, allocations: 247.2 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.02484, allocations: 3.938 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.004799/0.02964, allocations: 0.5166 MB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.02969, allocations: 63.39 kB / 1.008 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.03009, allocations: 413.9 kB / 1.008 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.03016, allocations: 41.69 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.03022, allocations: 89.45 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.03026, allocations: 43.72 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.03043, allocations: 129.4 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/0.03053, allocations: 322.8 kB / 1.009 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.03083, allocations: 195.3 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.03113, allocations: 247.9 kB / 1.009 GB, free: 4.742 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.03148, allocations: 279.5 kB / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.03149, allocations: 0 / 1.009 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.003683/0.03517, allocations: 0.5547 MB / 1.01 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.03523, allocations: 83.56 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.03524, allocations: 4 kB / 1.01 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.03526, allocations: 3.938 kB / 1.01 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.03538, allocations: 23.98 kB / 1.01 GB, free: 3.727 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.03539, allocations: 7.938 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/0.03567, allocations: 67.83 kB / 1.01 GB, free: 3.652 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.03573, allocations: 55.98 kB / 1.01 GB, free: 3.598 MB / 0.9636 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.0001953/0.03592, allocations: 193.8 kB / 1.01 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.03596, allocations: 35.77 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/0.03601, allocations: 43.67 kB / 1.01 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.03602, allocations: 11.88 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.03602, allocations: 0 / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.03603, allocations: 0 / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.03747, allocations: 0.7379 MB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.03747, allocations: 3.938 kB / 1.011 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.0375, allocations: 7.938 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.0375, allocations: 0 / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.03753, allocations: 23.97 kB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.03753, allocations: 0 / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03753, allocations: 3.938 kB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008688/0.0384, allocations: 0.5111 MB / 1.012 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.03858, allocations: 125.5 kB / 1.012 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.03863, allocations: 19.98 kB / 1.012 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.03886, allocations: 35.97 kB / 1.012 GB, free: 1.777 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.03888, allocations: 7.984 kB / 1.012 GB, free: 1.77 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.03893, allocations: 63.97 kB / 1.012 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001944/0.03912, allocations: 295.1 kB / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.03912, allocations: 0 / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002665/0.03939, allocations: 67.98 kB / 1.012 GB, free: 1.348 MB / 0.9636 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.001122/0.04051, allocations: 1.065 MB / 1.013 GB, free: 268 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007762/0.04129, allocations: 0.4904 MB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.04129, allocations: 0 / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.04166, allocations: 124.2 kB / 1.014 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.04193, allocations: 29.64 kB / 1.014 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002978/0.04491, allocations: 3.115 MB / 1.017 GB, free: 12.29 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.04504, allocations: 171 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.149e-05/0.04509, allocations: 9.156 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/0.04514, allocations: 28.48 kB / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of SimCode: time 7.62e-07/0.04514, allocations: 0 / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.1513, allocations: 8.035 MB / 1.025 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.449, allocations: 10.19 kB / 1.025 GB, free: 4.086 MB / 0.9792 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: 12.59195516537875]