Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001729/0.001729, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001489/0.001489, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.304/3.304, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Time_Examples_CalendarTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.CalendarTime,fileNamePrefix="Buildings_12_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.002106/0.002106, allocations: 68.77 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 176.1 MB / 1.327 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002846/0.3338, allocations: 1.52 MB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.3351, allocations: 0.5306 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.3351, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.3352, allocations: 11.86 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3353, allocations: 23.86 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008014/0.3361, allocations: 319.3 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000562/0.3367, allocations: 487.4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.3367, allocations: 8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000419/0.3371, allocations: 283.6 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.3374, allocations: 147.7 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.696e-05/0.3375, allocations: 28 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.911e-05/0.3376, allocations: 24 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3378, allocations: 119.6 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.338, allocations: 155.3 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.3385, allocations: 430.6 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3385, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3385, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3385, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 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.00137/0.3398, allocations: 0.8067 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.3399, allocations: 8.031 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.709e-05/0.3399, allocations: 4.125 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.34, allocations: 42.75 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.3401, allocations: 56.69 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.3405, allocations: 252.8 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.3406, allocations: 12.36 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.3407, allocations: 32.36 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3417, allocations: 218.8 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.3417, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3418, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3418, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.3426, allocations: 107.8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.343, allocations: 308.4 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3442, allocations: 166.5 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007964/0.3449, allocations: 100.8 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.345, allocations: 0 / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001041/0.346, allocations: 231 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.346, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002888/0.3489, allocations: 489.1 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.349, allocations: 63.39 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.3495, allocations: 409.9 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/0.3496, allocations: 41.69 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3497, allocations: 97.44 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.3497, allocations: 39.69 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.3499, allocations: 133.5 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3501, allocations: 318.8 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/0.3504, allocations: 187.3 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.3508, allocations: 253.2 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.3513, allocations: 263.7 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3513, allocations: 0 / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001091/0.3524, allocations: 0.5638 MB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-05/0.3524, allocations: 83.31 kB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3525, allocations: 4 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3525, allocations: 0 / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.3527, allocations: 23.97 kB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3527, allocations: 7.938 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.3532, allocations: 60.03 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.3533, allocations: 59.98 kB / 1.336 GB, free: 7.785 MB / 1.029 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.0002677/0.3536, allocations: 198.3 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.3537, allocations: 47.59 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.027e-05/0.3537, allocations: 39.69 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3537, allocations: 4 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3537, allocations: 0 / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3537, allocations: 4 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.3563, allocations: 0.7026 MB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3563, allocations: 0 / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.3563, allocations: 11.92 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3563, allocations: 0 / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.3564, allocations: 19.98 kB / 1.337 GB, free: 6.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3564, allocations: 7.938 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3564, allocations: 0 / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.3585, allocations: 489.9 kB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.3589, allocations: 133.5 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.359, allocations: 8 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.3595, allocations: 39.95 kB / 1.337 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3596, allocations: 7.984 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.156e-05/0.3597, allocations: 55.98 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003314/0.36, allocations: 295.1 kB / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 0 / 1.338 GB, free: 5.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004326/0.3604, allocations: 63.98 kB / 1.338 GB, free: 5.609 MB / 1.029 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.002414/0.3628, allocations: 1.047 MB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.3644, allocations: 470.1 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3644, allocations: 4.125 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.3652, allocations: 114 kB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3656, allocations: 32.12 kB / 1.339 GB, free: 3.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.3704, allocations: 3.077 MB / 1.342 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.3706, allocations: 166.9 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.981e-05/0.3707, allocations: 13.08 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.3707, allocations: 27.42 kB / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of SimCode: time 8.22e-07/0.3707, allocations: 0 / 1.343 GB, free: 424 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.4011, allocations: 7.684 MB / 1.35 GB, free: 8.809 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.31, allocations: 12.48 kB / 1.35 GB, free: 8.801 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Examples_CalendarTime_fmu --startTime=0 --stopTime=1e+08 --stepSize=643.381 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Examples_CalendarTime.fmu > Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.260923902969807] Failed to read output from testmodel.py, exit status != 0: 12.470384302083403 12.487431429 12.145801971 Calling exit ...