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.001379/0.001379, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001821/0.001821, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 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.9901/0.9901, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.82/1.82, allocations: 359 MB / 0.6063 GB, free: 10.84 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.482e-06/1.482e-06, allocations: 0 / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.661e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00187/0.001887, allocations: 1.534 MB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.002568, allocations: 477.2 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.002614, allocations: 0 / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.002644, allocations: 9.484 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.002863, allocations: 35.72 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.935e-05/0.002933, allocations: 15.97 kB / 0.7903 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.003007, allocations: 52.64 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.003087, allocations: 7.984 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.003245, allocations: 48.61 kB / 0.7904 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.727e-05/0.003312, allocations: 15.98 kB / 0.7905 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.003328, allocations: 5.344 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-06/0.003338, allocations: 4 kB / 0.7905 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.003356, allocations: 15.92 kB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.003386, allocations: 17.97 kB / 0.7905 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.003458, allocations: 35.84 kB / 0.7905 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.00346, allocations: 0 / 0.7905 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.8e-07/0.003461, allocations: 0 / 0.7905 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.003465, allocations: 0 / 0.7905 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.0003938/0.003859, allocations: 386.7 kB / 0.7909 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.003898, allocations: 12.03 kB / 0.7909 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.003927, allocations: 8.891 kB / 0.7909 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.004008, allocations: 116.5 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.004022, allocations: 4.359 kB / 0.791 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.004031, allocations: 8.375 kB / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.421e-05/0.004105, allocations: 55.47 kB / 0.7911 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004112, allocations: 5.719 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.004119, allocations: 384 / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.004126, allocations: 7.938 kB / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.256e-05/0.004149, allocations: 7.984 kB / 0.7911 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.004429, allocations: 257.7 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.638e-05/0.004505, allocations: 43.05 kB / 0.7914 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.004527, allocations: 23.8 kB / 0.7914 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.004532, allocations: 5.688 kB / 0.7914 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.118e-05/0.004614, allocations: 69.05 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.004615, allocations: 3.938 kB / 0.7915 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001421/0.004757, allocations: 77.81 kB / 0.7916 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.004794, allocations: 60.25 kB / 0.7916 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.507e-05/0.004869, allocations: 165.9 kB / 0.7918 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.004882, allocations: 29.7 kB / 0.7918 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.004929, allocations: 131.5 kB / 0.792 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.00495, allocations: 19.88 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.004979, allocations: 25.31 kB / 0.792 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.005098, allocations: 0.4884 MB / 0.7925 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.005114, allocations: 11.98 kB / 0.7925 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.005126, allocations: 4 kB / 0.7925 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.005162, allocations: 32.12 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005163, allocations: 2.438 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.31e-05/0.005236, allocations: 69.61 kB / 0.7926 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.00525, allocations: 11.88 kB / 0.7926 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.005253, allocations: 4 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.323e-06/0.00526, allocations: 0 / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.005311, allocations: 8 kB / 0.7926 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.005315, allocations: 4.703 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.005345, allocations: 7.938 kB / 0.7926 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.00535, allocations: 0.5312 kB / 0.7926 GB, free: 7.594 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 6.786e-05/0.005418, allocations: 162.2 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.00543, allocations: 11.89 kB / 0.7928 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.005448, allocations: 8.438 kB / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.00545, allocations: 0 / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.005452, allocations: 0.6562 kB / 0.7928 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.005457, allocations: 7.984 kB / 0.7928 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.222e-05/0.005529, allocations: 98.47 kB / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005531, allocations: 0 / 0.7929 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.62e-05/0.005547, allocations: 15.98 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005548, allocations: 1.156 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-06/0.005552, allocations: 3.938 kB / 0.7929 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.005553, allocations: 3.938 kB / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.005554, allocations: 0.9062 kB / 0.7929 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.005639, allocations: 96.44 kB / 0.793 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.005654, allocations: 8.781 kB / 0.793 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.005667, allocations: 7.938 kB / 0.793 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.005689, allocations: 3.938 kB / 0.793 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.005713, allocations: 9.391 kB / 0.793 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005717, allocations: 4 kB / 0.793 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.005757, allocations: 135.2 kB / 0.7932 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.005757, allocations: 0.7812 kB / 0.7932 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001153/0.005872, allocations: 8 kB / 0.7932 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 7.031e-05/0.005943, allocations: 104.1 kB / 0.7933 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.515e-05/0.006018, allocations: 37.22 kB / 0.7933 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.006019, allocations: 0 / 0.7933 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.006045, allocations: 23.67 kB / 0.7933 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.794e-05/0.006143, allocations: 4 kB / 0.7933 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.006576, allocations: 170.3 kB / 0.7935 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.006612, allocations: 55.36 kB / 0.7936 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.006636, allocations: 7.984 kB / 0.7936 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.006678, allocations: 70.2 kB / 0.7936 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.006679, allocations: 0 / 0.7936 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of Templates: time 0.002022/0.008701, allocations: 0.674 MB / 0.7943 GB, free: 5.801 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: 5.172490339260548]