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.001383/0.001383, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001391/0.001391, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.209/3.209, allocations: 0.49 GB / 0.7959 GB, free: 33.39 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.002036/0.002036, allocations: 66.02 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003096/0.3284, allocations: 1.545 MB / 1.328 GB, free: 460 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3298, allocations: 0.5578 MB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.3299, allocations: 0 / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.467e-05/0.33, allocations: 3.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.3301, allocations: 27.8 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008828/0.3309, allocations: 311.3 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006959/0.3316, allocations: 487.5 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.3317, allocations: 15.98 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.3322, allocations: 279.7 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.3326, allocations: 151.4 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.504e-05/0.3327, allocations: 28 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.502e-05/0.3328, allocations: 24 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3329, allocations: 111.7 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.3331, allocations: 187 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.3336, allocations: 430.6 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3337, allocations: 0 / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3337, allocations: 4 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.315e-05/0.3337, allocations: 4 kB / 1.331 GB, free: 13.87 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.001355/0.335, allocations: 0.8028 MB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3351, allocations: 8.031 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.398e-05/0.3351, allocations: 192 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/0.3351, allocations: 46.67 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.3353, allocations: 52.7 kB / 1.332 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.3357, allocations: 248.8 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.3357, allocations: 20.36 kB / 1.332 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.511e-05/0.3358, allocations: 36.3 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.3368, allocations: 209.8 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3368, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.3369, allocations: 3.984 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3369, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/0.3377, allocations: 103.9 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.3382, allocations: 364.3 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.3393, allocations: 162.5 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007918/0.3401, allocations: 108.8 kB / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.3401, allocations: 0 / 1.333 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.3412, allocations: 219.1 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.3412, allocations: 4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002722/0.3439, allocations: 491.5 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.3439, allocations: 59.41 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/0.3444, allocations: 413.9 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.3445, allocations: 41.7 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3446, allocations: 93.38 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.3446, allocations: 47.67 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.3449, allocations: 129.5 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.345, allocations: 322.8 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.3454, allocations: 115.9 kB / 1.335 GB, free: 9.609 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/0.3457, allocations: 169.8 kB / 1.335 GB, free: 9.422 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.3461, allocations: 282.6 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3461, allocations: 0 / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009622/0.3471, allocations: 0.4901 MB / 1.336 GB, free: 8.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/0.3472, allocations: 83.38 kB / 1.336 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3472, allocations: 4 kB / 1.336 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3472, allocations: 3.984 kB / 1.336 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.3474, allocations: 27.97 kB / 1.336 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.3474, allocations: 7.938 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005222/0.3479, allocations: 59.97 kB / 1.336 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.348, allocations: 59.98 kB / 1.336 GB, free: 8.352 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.0002948/0.3483, allocations: 194.3 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.3484, allocations: 47.64 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.3485, allocations: 35.69 kB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3485, allocations: 4 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3485, allocations: 3.938 kB / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3485, allocations: 0 / 1.336 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.3509, allocations: 0.7166 MB / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.351, allocations: 0 / 1.337 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.351, allocations: 7.938 kB / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.351, allocations: 0 / 1.337 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.351, allocations: 23.97 kB / 1.337 GB, free: 7.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.351, allocations: 7.938 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.351, allocations: 0 / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3529, allocations: 484.8 kB / 1.337 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.3532, allocations: 121.6 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.738e-05/0.3533, allocations: 15.98 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.3538, allocations: 27.97 kB / 1.337 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3538, allocations: 7.984 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.129e-05/0.3539, allocations: 59.97 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003387/0.3543, allocations: 295.1 kB / 1.338 GB, free: 6.246 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3543, allocations: 0 / 1.338 GB, free: 6.246 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004007/0.3547, allocations: 68 kB / 1.338 GB, free: 6.18 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.002252/0.3569, allocations: 1.034 MB / 1.339 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.3583, allocations: 405.4 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3583, allocations: 3.938 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.3591, allocations: 120.2 kB / 1.339 GB, free: 4.578 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3594, allocations: 23.36 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.3641, allocations: 2.79 MB / 1.342 GB, free: 1.633 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.3646, allocations: 0.7747 MB / 1.343 GB, free: 0.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.962e-05/0.3647, allocations: 17.06 kB / 1.343 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.669e-05/0.3647, allocations: 23.42 kB / 1.343 GB, free: 0.793 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.3647, allocations: 4 kB / 1.343 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3942, allocations: 6.456 MB / 1.349 GB, free: 10.37 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.02, allocations: 13.27 kB / 1.349 GB, free: 10.36 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: 18.939446286996827] Failed to read output from testmodel.py, exit status != 0: 12.184744568017777 12.211865412 11.873822429 Calling exit ...