Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.0009228/0.0009228, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009152/0.0009152, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9348/0.9348, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.78/1.78, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.814e-05, allocations: 8.781 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002593/0.002621, allocations: 1.532 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000783/0.003404, allocations: 481.7 kB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.003449, allocations: 0 / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.003476, allocations: 3.938 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000233/0.003709, allocations: 32.59 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.222e-05/0.003782, allocations: 7.984 kB / 0.7896 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.003867, allocations: 68.56 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.003948, allocations: 11.98 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.00412, allocations: 38.34 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.582e-05/0.004195, allocations: 27.89 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004212, allocations: 4 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.004224, allocations: 4 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.004248, allocations: 4 kB / 0.7897 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.004282, allocations: 19.92 kB / 0.7897 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.099e-05/0.004363, allocations: 37.73 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.004365, allocations: 0 / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.004366, allocations: 0 / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.00437, allocations: 0 / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004202/0.00479, allocations: 385.1 kB / 0.7901 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.00483, allocations: 8.031 kB / 0.7901 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.004861, allocations: 9.391 kB / 0.7902 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.492e-05/0.004946, allocations: 121 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.004962, allocations: 9.156 kB / 0.7903 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.004972, allocations: 4.375 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.366e-05/0.005056, allocations: 54.94 kB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.005065, allocations: 5.344 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.005072, allocations: 4.375 kB / 0.7903 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005079, allocations: 3.938 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.031e-05/0.005109, allocations: 13.36 kB / 0.7904 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.005414, allocations: 260.3 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/0.005498, allocations: 52.86 kB / 0.7907 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.005522, allocations: 11.69 kB / 0.7907 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.00553, allocations: 4 kB / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.689e-05/0.005627, allocations: 69.09 kB / 0.7907 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.005629, allocations: 5.156 kB / 0.7907 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001464/0.005775, allocations: 69.58 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.005809, allocations: 51.41 kB / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.005893, allocations: 178.4 kB / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.005904, allocations: 25.7 kB / 0.7911 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.005958, allocations: 140.8 kB / 0.7912 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.005979, allocations: 11.91 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.006016, allocations: 27.36 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.006149, allocations: 0.4884 MB / 0.7917 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.006167, allocations: 4 kB / 0.7917 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.69e-05/0.006184, allocations: 14.58 kB / 0.7917 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.006231, allocations: 31.61 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006233, allocations: 0 / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.616e-05/0.006319, allocations: 61.64 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.006331, allocations: 7.938 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.006335, allocations: 0 / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.006349, allocations: 4 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.00641, allocations: 12.52 kB / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.006412, allocations: 0.7188 kB / 0.7918 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.652e-05/0.006449, allocations: 11.94 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.006455, allocations: 0.5312 kB / 0.7918 GB, free: 7.602 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 7.555e-05/0.006531, allocations: 166.2 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/0.006546, allocations: 15.88 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.006566, allocations: 12.38 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.006568, allocations: 0 / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.006569, allocations: 0.8438 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.006572, allocations: 0 / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.739e-05/0.006659, allocations: 109.2 kB / 0.7921 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00666, allocations: 0.8438 kB / 0.7921 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.006679, allocations: 4.25 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.00668, allocations: 1.281 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.006687, allocations: 8 kB / 0.7922 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.006689, allocations: 3.938 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006689, allocations: 0.8438 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.006796, allocations: 104.4 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.006806, allocations: 5.172 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.006821, allocations: 4 kB / 0.7923 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.058e-05/0.006851, allocations: 7.922 kB / 0.7923 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.006877, allocations: 8 kB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.006882, allocations: 1.312 kB / 0.7923 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.006926, allocations: 131.2 kB / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006926, allocations: 0 / 0.7924 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001804/0.007106, allocations: 13.59 kB / 0.7924 GB, free: 6.969 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.285e-05/0.007189, allocations: 99.25 kB / 0.7925 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.007271, allocations: 39.59 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.007273, allocations: 2.75 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.007302, allocations: 19.69 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.007435, allocations: 9.875 kB / 0.7926 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.00797, allocations: 162 kB / 0.7927 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.008006, allocations: 63.78 kB / 0.7928 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.515e-05/0.008031, allocations: 5.25 kB / 0.7928 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.008082, allocations: 70.2 kB / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.008082, allocations: 0 / 0.7929 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of Templates: time 0.002367/0.01045, allocations: 0.6662 MB / 0.7935 GB, free: 5.805 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.841505592223257]