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.001457/0.001457, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001906/0.001906, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.323/3.323, allocations: 0.5003 GB / 0.8062 GB, free: 28.34 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.002079/0.002079, allocations: 62.38 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3343, allocations: 179 MB / 1.345 GB, free: 24 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003068/0.3374, allocations: 1.521 MB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3388, allocations: 0.5283 MB / 1.347 GB, free: 13.96 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.3389, allocations: 8 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.339, allocations: 7.922 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.3392, allocations: 31.8 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3402, allocations: 314.7 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006551/0.3409, allocations: 483.4 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.987e-05/0.3409, allocations: 4 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.3414, allocations: 287.6 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.3418, allocations: 143.7 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3419, allocations: 27.94 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.342, allocations: 28 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.3422, allocations: 111.7 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.3424, allocations: 159.3 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.3429, allocations: 434.6 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3429, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3429, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.3429, allocations: 0 / 1.349 GB, free: 11.96 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.001461/0.3444, allocations: 0.7989 MB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.3444, allocations: 12.03 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.084e-05/0.3444, allocations: 8.125 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.3445, allocations: 34.75 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.3446, allocations: 56.69 kB / 1.35 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.3451, allocations: 256.7 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.198e-05/0.3452, allocations: 20.36 kB / 1.35 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.3453, allocations: 28.36 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.3464, allocations: 213.8 kB / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3464, allocations: 0 / 1.351 GB, free: 10.44 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.3465, allocations: 4 kB / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3465, allocations: 0 / 1.351 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008287/0.3473, allocations: 103.8 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.3478, allocations: 308.5 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.3489, allocations: 164.7 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008142/0.3498, allocations: 101.2 kB / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.3498, allocations: 0 / 1.351 GB, free: 9.719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.3509, allocations: 231.1 kB / 1.351 GB, free: 9.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 2.405e-06/0.3509, allocations: 0 / 1.351 GB, free: 9.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002864/0.3537, allocations: 489 kB / 1.352 GB, free: 8.996 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.3538, allocations: 63.39 kB / 1.352 GB, free: 8.922 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.3543, allocations: 405.9 kB / 1.352 GB, free: 8.516 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.3544, allocations: 45.69 kB / 1.352 GB, free: 8.465 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3545, allocations: 93.44 kB / 1.352 GB, free: 8.371 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.3546, allocations: 47.61 kB / 1.353 GB, free: 8.324 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.3548, allocations: 133.5 kB / 1.353 GB, free: 8.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.355, allocations: 318.8 kB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.3554, allocations: 187.3 kB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.3558, allocations: 253.2 kB / 1.353 GB, free: 7.391 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004383/0.3562, allocations: 272 kB / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3562, allocations: 0 / 1.354 GB, free: 7.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009604/0.3572, allocations: 0.5547 MB / 1.354 GB, free: 6.508 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-05/0.3573, allocations: 79.38 kB / 1.354 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3573, allocations: 3.938 kB / 1.354 GB, free: 6.414 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3573, allocations: 4 kB / 1.354 GB, free: 6.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.3575, allocations: 31.97 kB / 1.354 GB, free: 6.379 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3575, allocations: 0 / 1.354 GB, free: 6.379 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.3581, allocations: 71.92 kB / 1.354 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3582, allocations: 55.98 kB / 1.354 GB, free: 6.254 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.0002874/0.3585, allocations: 193.8 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.3585, allocations: 39.7 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.398e-05/0.3586, allocations: 39.69 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3586, allocations: 4 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3586, allocations: 0 / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3586, allocations: 3.938 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.3611, allocations: 0.7225 MB / 1.355 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3611, allocations: 0 / 1.355 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3611, allocations: 7.984 kB / 1.355 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3611, allocations: 0 / 1.355 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.3612, allocations: 15.98 kB / 1.355 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3612, allocations: 3.938 kB / 1.355 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3612, allocations: 4 kB / 1.355 GB, free: 5.164 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.3631, allocations: 483.4 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/0.3634, allocations: 137.5 kB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/0.3635, allocations: 8 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.364, allocations: 35.95 kB / 1.356 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.364, allocations: 11.98 kB / 1.356 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/0.3641, allocations: 51.98 kB / 1.356 GB, free: 4.438 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000327/0.3644, allocations: 295.1 kB / 1.356 GB, free: 4.148 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3644, allocations: 0 / 1.356 GB, free: 4.148 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004331/0.3648, allocations: 63.98 kB / 1.356 GB, free: 4.086 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.002278/0.3671, allocations: 1.038 MB / 1.357 GB, free: 3.016 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.3686, allocations: 472.4 kB / 1.358 GB, free: 2.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.3686, allocations: 4.062 kB / 1.358 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008277/0.3695, allocations: 111.8 kB / 1.358 GB, free: 2.406 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3699, allocations: 37.56 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005054/0.3749, allocations: 3.07 MB / 1.361 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3752, allocations: 170.9 kB / 1.361 GB, free: 14.93 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.37e-05/0.3752, allocations: 17.06 kB / 1.361 GB, free: 14.92 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.3753, allocations: 23.42 kB / 1.361 GB, free: 14.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.243e-06/0.3753, allocations: 0 / 1.361 GB, free: 14.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.4053, allocations: 7.678 MB / 1.369 GB, free: 7.285 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.9, allocations: 12.28 kB / 1.369 GB, free: 7.277 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.875070971087553] Failed to read output from testmodel.py, exit status != 0: 12.055052145035006 12.072956183 11.72666848 Calling exit ...