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.001176/0.001176, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001933/0.001933, allocations: 173 kB / 24.28 MB, free: 276 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.9448/0.9448, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.829/1.829, allocations: 359 MB / 0.6055 GB, free: 11.03 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.372e-06/1.372e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.701e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001747/0.001764, allocations: 1.528 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006544/0.002419, allocations: 492.5 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.00246, allocations: 0 / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.002491, allocations: 5.406 kB / 0.7891 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.002714, allocations: 27.78 kB / 0.7891 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.614e-05/0.002781, allocations: 19.23 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.002866, allocations: 59.78 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.002955, allocations: 3.984 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.003118, allocations: 47.78 kB / 0.7892 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.47e-05/0.003183, allocations: 19.95 kB / 0.7892 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.0032, allocations: 8 kB / 0.7893 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.00321, allocations: 4 kB / 0.7893 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.003233, allocations: 11.94 kB / 0.7893 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.003268, allocations: 16.95 kB / 0.7893 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.558e-05/0.003344, allocations: 31.89 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003346, allocations: 0 / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003346, allocations: 0.5938 kB / 0.7893 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.00335, allocations: 4 kB / 0.7893 GB, free: 10.55 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.0004141/0.003764, allocations: 385.8 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.003796, allocations: 8.031 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.003835, allocations: 9.859 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.545e-05/0.00392, allocations: 116.5 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.003937, allocations: 8.375 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.003946, allocations: 1.125 kB / 0.7898 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.636e-05/0.004032, allocations: 62.94 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004038, allocations: 0.7812 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.004047, allocations: 1.719 kB / 0.7899 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.004056, allocations: 3.938 kB / 0.7899 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.639e-05/0.004092, allocations: 15.98 kB / 0.7899 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.004443, allocations: 279.7 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.151e-05/0.004535, allocations: 48.58 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.004563, allocations: 19.81 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.004571, allocations: 4 kB / 0.7902 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.004676, allocations: 74.5 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.004678, allocations: 0 / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001637/0.004841, allocations: 77.58 kB / 0.7904 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.004877, allocations: 51.41 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.998e-05/0.004957, allocations: 174.5 kB / 0.7906 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.00497, allocations: 39.16 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.005013, allocations: 130.9 kB / 0.7908 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.005033, allocations: 11.91 kB / 0.7908 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.005064, allocations: 31.36 kB / 0.7908 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.005169, allocations: 496.7 kB / 0.7913 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.005194, allocations: 11.98 kB / 0.7913 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.005211, allocations: 14.06 kB / 0.7913 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.454e-05/0.005255, allocations: 27.62 kB / 0.7913 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005257, allocations: 0 / 0.7913 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.403e-05/0.005331, allocations: 77.64 kB / 0.7914 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.005342, allocations: 7.984 kB / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005346, allocations: 0.5312 kB / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.005358, allocations: 0 / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.005417, allocations: 12.72 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.005422, allocations: 0 / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.005452, allocations: 9.438 kB / 0.7914 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-06/0.005459, allocations: 4 kB / 0.7914 GB, free: 8.188 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.242e-05/0.005521, allocations: 168.4 kB / 0.7916 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.005531, allocations: 12.52 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.005547, allocations: 9.5 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005549, allocations: 0 / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.005552, allocations: 256 / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005555, allocations: 0.875 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.077e-05/0.005626, allocations: 128.6 kB / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005627, allocations: 0 / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.33e-05/0.00564, allocations: 8.828 kB / 0.7918 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005642, allocations: 7.938 kB / 0.7918 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.005649, allocations: 2.125 kB / 0.7918 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005649, allocations: 0 / 0.7918 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00565, allocations: 0 / 0.7918 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.707e-05/0.005737, allocations: 100.4 kB / 0.7919 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.413e-05/0.005751, allocations: 15.92 kB / 0.7919 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.00577, allocations: 7.938 kB / 0.7919 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.00579, allocations: 4.5 kB / 0.7919 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.005822, allocations: 6.578 kB / 0.7919 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.005825, allocations: 4 kB / 0.7919 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003172/0.006143, allocations: 135.1 kB / 0.792 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006143, allocations: 0 / 0.792 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001186/0.006261, allocations: 12 kB / 0.792 GB, free: 7.52 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.061e-05/0.006332, allocations: 95.25 kB / 0.7921 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.006425, allocations: 41.36 kB / 0.7922 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006426, allocations: 4 kB / 0.7922 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.006454, allocations: 23.61 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.006562, allocations: 8 kB / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.00709, allocations: 164.1 kB / 0.7924 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.007119, allocations: 55.36 kB / 0.7924 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.007142, allocations: 8.766 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.007169, allocations: 12.5 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.00717, allocations: 4.5 kB / 0.7924 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.001963/0.009133, allocations: 0.6202 MB / 0.793 GB, free: 6.461 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.127007977105677]