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.00144/0.00144, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001652/0.001652, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.624/1.624, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.024/3.024, allocations: 0.49 GB / 0.7923 GB, free: 1.484 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.002025/0.002025, allocations: 63.89 kB / 1.149 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9213, allocations: 176.1 MB / 1.321 GB, free: 24.89 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002234/0.9236, allocations: 1.542 MB / 1.323 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.9246, allocations: 0.542 MB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.9247, allocations: 0 / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.731e-05/0.9248, allocations: 13.83 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.648e-05/0.9248, allocations: 33.73 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.9255, allocations: 305 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.9259, allocations: 485.5 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.9259, allocations: 5.422 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.9262, allocations: 271.3 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.9264, allocations: 153.5 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.608e-05/0.9265, allocations: 30.69 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.9265, allocations: 27.91 kB / 1.325 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.9266, allocations: 108.8 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.9268, allocations: 187.7 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.9271, allocations: 428.7 kB / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9271, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9271, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.9271, allocations: 0 / 1.325 GB, free: 22.66 MB / 1.061 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.001088/0.9282, allocations: 0.8846 MB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9282, allocations: 13.39 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.749e-05/0.9282, allocations: 1.812 kB / 1.326 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.9283, allocations: 41.34 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.9284, allocations: 50.7 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.9287, allocations: 316.8 kB / 1.327 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.9288, allocations: 22.52 kB / 1.327 GB, free: 21.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.868e-05/0.9288, allocations: 33.75 kB / 1.327 GB, free: 21.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.9299, allocations: 220 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9299, allocations: 1.031 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.9299, allocations: 0.875 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.9299, allocations: 1.656 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/0.9308, allocations: 94.92 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.9313, allocations: 394.6 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.9324, allocations: 165 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.9332, allocations: 107.7 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.9333, allocations: 1.938 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.9343, allocations: 226.2 kB / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.965e-06/0.9343, allocations: 0 / 1.328 GB, free: 21.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.003011/0.9373, allocations: 484.8 kB / 1.328 GB, free: 20.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.9374, allocations: 65.31 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.9379, allocations: 412 kB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.9379, allocations: 44.12 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.938, allocations: 90.84 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.938, allocations: 36.88 kB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.9382, allocations: 132.1 kB / 1.329 GB, free: 20.45 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.9383, allocations: 320.5 kB / 1.329 GB, free: 20.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.9386, allocations: 121 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.9389, allocations: 168.5 kB / 1.33 GB, free: 20 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.9392, allocations: 284 kB / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.9392, allocations: 0 / 1.33 GB, free: 19.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008108/0.94, allocations: 0.491 MB / 1.33 GB, free: 19.58 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.9401, allocations: 83.98 kB / 1.331 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.9401, allocations: 1.062 kB / 1.331 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.9401, allocations: 3.609 kB / 1.331 GB, free: 19.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.9403, allocations: 31.89 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9403, allocations: 2.953 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.9408, allocations: 54.62 kB / 1.331 GB, free: 19.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.9409, allocations: 58.62 kB / 1.331 GB, free: 19.49 MB / 1.061 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.00021/0.9411, allocations: 200.2 kB / 1.331 GB, free: 19.34 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.9412, allocations: 50.02 kB / 1.331 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.588e-05/0.9412, allocations: 37.41 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9412, allocations: 2.094 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9413, allocations: 0 / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.9413, allocations: 5.203 kB / 1.331 GB, free: 19.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.9436, allocations: 0.7509 MB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.9436, allocations: 4 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.9436, allocations: 5.281 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9436, allocations: 0.7188 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.9437, allocations: 23.2 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9437, allocations: 8.531 kB / 1.332 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.9437, allocations: 0.875 kB / 1.332 GB, free: 18.87 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.9456, allocations: 477.5 kB / 1.332 GB, free: 18.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.9459, allocations: 200.9 kB / 1.332 GB, free: 18.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.9459, allocations: 14.77 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/0.9465, allocations: 32.22 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.9465, allocations: 7.75 kB / 1.332 GB, free: 18.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.9467, allocations: 59.94 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004072/0.9471, allocations: 294.4 kB / 1.333 GB, free: 18.38 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9471, allocations: 0 / 1.333 GB, free: 18.38 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004892/0.9476, allocations: 65.92 kB / 1.333 GB, free: 18.37 MB / 1.061 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.002239/0.9498, allocations: 1.023 MB / 1.334 GB, free: 17.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.9512, allocations: 405 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9512, allocations: 5.062 kB / 1.334 GB, free: 17.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008245/0.952, allocations: 108.8 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/0.9524, allocations: 24.64 kB / 1.334 GB, free: 17.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003961/0.9564, allocations: 2.802 MB / 1.337 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.9566, allocations: 0.7707 MB / 1.338 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.127e-05/0.9567, allocations: 15.45 kB / 1.338 GB, free: 14.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.9567, allocations: 25.39 kB / 1.338 GB, free: 14.81 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/0.9567, allocations: 0 / 1.338 GB, free: 14.81 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.9825, allocations: 6.259 MB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.574/9.556, allocations: 9.297 kB / 1.344 GB, free: 13.52 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.418041816039477] Failed to read output from testmodel.py, exit status != 0: 9.687492287019268 9.708450777 8.777219493 Calling exit ...