Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001797/0.001797, allocations: 105.5 kB / 19.73 MB, free: 2.227 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.002444/0.002444, allocations: 214.6 kB / 23.04 MB, free: 5.062 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.193/3.193, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="cs",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.002058/0.002058, allocations: 74.11 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 179 MB / 1.345 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002927/0.3747, allocations: 1.556 MB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.376, allocations: 0.5459 MB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.376, allocations: 0 / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.091e-05/0.3761, allocations: 3.938 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3762, allocations: 35.72 kB / 1.347 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.3771, allocations: 318.7 kB / 1.348 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005587/0.3777, allocations: 483.5 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.3777, allocations: 7.984 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.3781, allocations: 279.6 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.3784, allocations: 151.6 kB / 1.349 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.3785, allocations: 24 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.3786, allocations: 28 kB / 1.349 GB, free: 13.11 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.3787, allocations: 119.7 kB / 1.349 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.3789, allocations: 183.1 kB / 1.349 GB, free: 12.81 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.3794, allocations: 430.6 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3794, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3794, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3794, allocations: 0 / 1.349 GB, free: 12.39 MB / 1.045 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.001323/0.3807, allocations: 0.8028 MB / 1.35 GB, free: 11.51 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3807, allocations: 12.03 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.402e-05/0.3807, allocations: 4.188 kB / 1.35 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.3808, allocations: 38.73 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3809, allocations: 48.7 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.3813, allocations: 256.7 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.3814, allocations: 20.36 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.11e-05/0.3815, allocations: 24.36 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3825, allocations: 218.4 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3825, allocations: 4 kB / 1.351 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3825, allocations: 11.92 kB / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3825, allocations: 0 / 1.351 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000784/0.3833, allocations: 99.86 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.3838, allocations: 368.3 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.3849, allocations: 162.5 kB / 1.351 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007665/0.3856, allocations: 104.8 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3857, allocations: 8.312 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.3867, allocations: 223.1 kB / 1.352 GB, free: 9.836 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.3867, allocations: 0 / 1.352 GB, free: 9.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002702/0.3894, allocations: 485 kB / 1.352 GB, free: 9.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.3894, allocations: 59.41 kB / 1.352 GB, free: 9.285 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004631/0.3899, allocations: 413.9 kB / 1.353 GB, free: 8.871 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.39, allocations: 41.7 kB / 1.353 GB, free: 8.824 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.3901, allocations: 97.44 kB / 1.353 GB, free: 8.727 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.3901, allocations: 39.69 kB / 1.353 GB, free: 8.688 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.3903, allocations: 133.5 kB / 1.353 GB, free: 8.551 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3905, allocations: 322.8 kB / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.3908, allocations: 115.9 kB / 1.353 GB, free: 8.113 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000317/0.3911, allocations: 173.8 kB / 1.353 GB, free: 7.922 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.3915, allocations: 283.8 kB / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3915, allocations: 0 / 1.354 GB, free: 7.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009022/0.3924, allocations: 496.6 kB / 1.354 GB, free: 7.109 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.3925, allocations: 83.38 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3925, allocations: 0 / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3925, allocations: 7.938 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3927, allocations: 23.97 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3927, allocations: 4 kB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.3932, allocations: 64.03 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/0.3933, allocations: 63.91 kB / 1.354 GB, free: 6.855 MB / 1.045 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.0002414/0.3936, allocations: 185.8 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.3936, allocations: 51.64 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.3937, allocations: 39.69 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3937, allocations: 0 / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3937, allocations: 4 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3937, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.396, allocations: 0.7264 MB / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.396, allocations: 0 / 1.355 GB, free: 5.793 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.3961, allocations: 8 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3961, allocations: 3.984 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.3961, allocations: 23.97 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.3961, allocations: 11.94 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3961, allocations: 0 / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.3979, allocations: 475.4 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002732/0.3982, allocations: 129.5 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.739e-05/0.3983, allocations: 19.98 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/0.3988, allocations: 27.97 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.3988, allocations: 3.984 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.3989, allocations: 67.97 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003267/0.3992, allocations: 299 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3992, allocations: 0 / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003917/0.3996, allocations: 60 kB / 1.356 GB, free: 4.672 MB / 1.045 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.002318/0.4019, allocations: 1.03 MB / 1.357 GB, free: 3.613 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00145/0.4034, allocations: 398.8 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4034, allocations: 4.062 kB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.4042, allocations: 115.8 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.4047, allocations: 23.2 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.4094, allocations: 2.789 MB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.4099, allocations: 0.7745 MB / 1.361 GB, free: 15.34 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.052e-05/0.4099, allocations: 13.08 kB / 1.361 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.41, allocations: 27.42 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/0.41, allocations: 4 kB / 1.361 GB, free: 15.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.4383, allocations: 6.457 MB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.09, allocations: 11.28 kB / 1.368 GB, free: 8.879 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=643.381 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.855600466020405] Failed to read output from testmodel.py, exit status != 0: 12.249830484041013 12.272834472 11.889206455 Calling exit ...