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.001536/0.001536, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001203/0.001203, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9263/0.9263, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.767/1.767, allocations: 359 MB / 0.6052 GB, free: 11.01 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.452e-06/1.452e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.751e-05, allocations: 8.922 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001683/0.0017, allocations: 1.537 MB / 0.7886 GB, free: 9.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000593/0.002293, allocations: 481 kB / 0.7891 GB, free: 9.367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.002329, allocations: 0 / 0.7891 GB, free: 9.367 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.746e-05/0.002357, allocations: 5.125 kB / 0.7891 GB, free: 9.363 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.002558, allocations: 27.78 kB / 0.7891 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.279e-05/0.002631, allocations: 21.58 kB / 0.7891 GB, free: 9.316 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.002719, allocations: 59.78 kB / 0.7892 GB, free: 9.258 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.002823, allocations: 7.984 kB / 0.7892 GB, free: 9.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.003004, allocations: 35.91 kB / 0.7892 GB, free: 9.215 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.313e-05/0.003087, allocations: 24.77 kB / 0.7892 GB, free: 9.191 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.003108, allocations: 4 kB / 0.7892 GB, free: 9.188 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003121, allocations: 4.688 kB / 0.7892 GB, free: 9.184 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.00314, allocations: 11.92 kB / 0.7893 GB, free: 9.172 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.003179, allocations: 16.62 kB / 0.7893 GB, free: 9.156 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003281, allocations: 44.64 kB / 0.7893 GB, free: 9.113 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003283, allocations: 0 / 0.7893 GB, free: 9.113 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003284, allocations: 0 / 0.7893 GB, free: 9.113 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003288, allocations: 0.9688 kB / 0.7893 GB, free: 9.113 MB / 0.698 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.000463/0.003751, allocations: 391 kB / 0.7897 GB, free: 8.699 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.003792, allocations: 8.031 kB / 0.7897 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.003835, allocations: 8.891 kB / 0.7897 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.003939, allocations: 112.6 kB / 0.7898 GB, free: 8.547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.003955, allocations: 8.375 kB / 0.7898 GB, free: 8.539 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.003969, allocations: 4.375 kB / 0.7898 GB, free: 8.535 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.004069, allocations: 54.95 kB / 0.7899 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.004077, allocations: 192 / 0.7899 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.004086, allocations: 1.688 kB / 0.7899 GB, free: 8.473 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.004098, allocations: 7.938 kB / 0.7899 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.004134, allocations: 19.91 kB / 0.7899 GB, free: 8.445 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.004503, allocations: 284.2 kB / 0.7902 GB, free: 8.133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.004605, allocations: 48.05 kB / 0.7902 GB, free: 8.074 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.004638, allocations: 23.8 kB / 0.7902 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.004645, allocations: 0 / 0.7902 GB, free: 8.047 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.004749, allocations: 77.52 kB / 0.7903 GB, free: 7.957 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.004751, allocations: 1.812 kB / 0.7903 GB, free: 7.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001713/0.004922, allocations: 73.67 kB / 0.7904 GB, free: 7.879 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.004958, allocations: 55.41 kB / 0.7904 GB, free: 7.812 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.209e-05/0.00504, allocations: 169.9 kB / 0.7906 GB, free: 7.629 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.005053, allocations: 33.7 kB / 0.7906 GB, free: 7.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.005102, allocations: 132.3 kB / 0.7908 GB, free: 7.457 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.005125, allocations: 19.89 kB / 0.7908 GB, free: 7.438 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.005159, allocations: 23.38 kB / 0.7908 GB, free: 7.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.005278, allocations: 0.4884 MB / 0.7913 GB, free: 6.906 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.0053, allocations: 9.266 kB / 0.7913 GB, free: 6.898 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.005318, allocations: 8 kB / 0.7913 GB, free: 6.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.005362, allocations: 31.67 kB / 0.7913 GB, free: 6.855 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005364, allocations: 4 kB / 0.7913 GB, free: 6.852 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000196/0.00556, allocations: 76.05 kB / 0.7914 GB, free: 6.773 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.00558, allocations: 4 kB / 0.7914 GB, free: 6.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.005588, allocations: 4 kB / 0.7914 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.005604, allocations: 0 / 0.7914 GB, free: 6.766 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.005699, allocations: 16.17 kB / 0.7914 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.005705, allocations: 0 / 0.7914 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.005755, allocations: 8.531 kB / 0.7914 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.005764, allocations: 4.719 kB / 0.7914 GB, free: 6.738 MB / 0.698 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 8.376e-05/0.005848, allocations: 165 kB / 0.7916 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.005864, allocations: 11.89 kB / 0.7916 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.005889, allocations: 10.03 kB / 0.7916 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.005891, allocations: 0 / 0.7916 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.005896, allocations: 3.984 kB / 0.7916 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.005899, allocations: 4 kB / 0.7916 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.969e-05/0.005989, allocations: 121.2 kB / 0.7917 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.00599, allocations: 0 / 0.7917 GB, free: 6.387 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.006013, allocations: 8.688 kB / 0.7917 GB, free: 6.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.006016, allocations: 3.938 kB / 0.7918 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.006025, allocations: 4.672 kB / 0.7918 GB, free: 6.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006026, allocations: 0.8438 kB / 0.7918 GB, free: 6.371 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.006029, allocations: 3.938 kB / 0.7918 GB, free: 6.367 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.006153, allocations: 104.4 kB / 0.7919 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.006169, allocations: 9.266 kB / 0.7919 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.006188, allocations: 7.938 kB / 0.7919 GB, free: 6.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.209e-05/0.00622, allocations: 4 kB / 0.7919 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.00628, allocations: 5.141 kB / 0.7919 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.006288, allocations: 4 kB / 0.7919 GB, free: 6.215 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.018e-05/0.006349, allocations: 135.2 kB / 0.792 GB, free: 6.082 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006349, allocations: 0.5625 kB / 0.792 GB, free: 6.082 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001222/0.006471, allocations: 8 kB / 0.792 GB, free: 6.074 MB / 0.698 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.896e-05/0.00656, allocations: 96.88 kB / 0.7921 GB, free: 5.973 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.006661, allocations: 48.38 kB / 0.7922 GB, free: 5.922 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.006663, allocations: 0 / 0.7922 GB, free: 5.922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.006697, allocations: 25.47 kB / 0.7922 GB, free: 5.895 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.006809, allocations: 2.062 kB / 0.7922 GB, free: 5.895 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.007387, allocations: 166.9 kB / 0.7924 GB, free: 5.703 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.007418, allocations: 59.34 kB / 0.7924 GB, free: 5.625 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.287e-05/0.007441, allocations: 6.312 kB / 0.7924 GB, free: 5.621 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.00747, allocations: 16.5 kB / 0.7924 GB, free: 5.605 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.007471, allocations: 0 / 0.7924 GB, free: 5.605 MB / 0.698 GB Notification: Performance of Templates: time 0.002152/0.009623, allocations: 0.6119 MB / 0.793 GB, free: 5.027 MB / 0.698 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.07200077502057]