Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.002373/0.002373, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002595/0.002595, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.9/2.9, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.535e-05, allocations: 3.094 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002663/0.002688, allocations: 1.482 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003744, allocations: 0.5351 MB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.003779, allocations: 0 / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.0038, allocations: 3.312 kB / 0.7884 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.003998, allocations: 27.8 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.004133, allocations: 31.84 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.004228, allocations: 55.83 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.552e-05/0.004304, allocations: 4 kB / 0.7885 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.004479, allocations: 43.89 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.004555, allocations: 20.88 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.004578, allocations: 4 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.004632, allocations: 19.92 kB / 0.7886 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.004654, allocations: 12.52 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.004698, allocations: 20.61 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004836, allocations: 59.78 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004838, allocations: 4.938 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004838, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.004842, allocations: 0 / 0.7886 GB, free: 10.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006295/0.005471, allocations: 385.6 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.005504, allocations: 9.312 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000184/0.005688, allocations: 20.88 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.005891, allocations: 122 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.005905, allocations: 384 / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.005918, allocations: 4.375 kB / 0.7892 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.006058, allocations: 62.22 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.006066, allocations: 1.719 kB / 0.7892 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.006079, allocations: 4.375 kB / 0.7892 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.006084, allocations: 3.938 kB / 0.7892 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.537e-05/0.00617, allocations: 31.91 kB / 0.7893 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.006657, allocations: 276.2 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.006897, allocations: 88.61 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.006951, allocations: 19.69 kB / 0.7896 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.006969, allocations: 7.938 kB / 0.7896 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.007122, allocations: 81.53 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.007123, allocations: 2.031 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002864/0.00741, allocations: 101.7 kB / 0.7898 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.007465, allocations: 63.39 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.007589, allocations: 165.9 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.007612, allocations: 25.7 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.007696, allocations: 135.4 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.007729, allocations: 19.86 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.007787, allocations: 32.08 kB / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.008034, allocations: 0.4884 MB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.008085, allocations: 17.42 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.209e-05/0.008127, allocations: 19.94 kB / 0.7908 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.008243, allocations: 51.67 kB / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008244, allocations: 0 / 0.7908 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001662/0.008411, allocations: 97.98 kB / 0.7909 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.008423, allocations: 5.031 kB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.008426, allocations: 320 / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.008438, allocations: 0 / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.008529, allocations: 20.83 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.008533, allocations: 0 / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.008599, allocations: 12.73 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.008613, allocations: 3.984 kB / 0.7909 GB, free: 7.965 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 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001146/0.008728, allocations: 162.7 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.008751, allocations: 11.94 kB / 0.7911 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.008973, allocations: 109.7 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008974, allocations: 0 / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.008977, allocations: 0 / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.00898, allocations: 2.656 kB / 0.7912 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.00914, allocations: 140.5 kB / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009141, allocations: 0 / 0.7913 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.009206, allocations: 12 kB / 0.7914 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.009211, allocations: 3.938 kB / 0.7914 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.009222, allocations: 4 kB / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.009223, allocations: 0 / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.009224, allocations: 1.625 kB / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.009439, allocations: 136.4 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.009457, allocations: 11.94 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.009478, allocations: 7.938 kB / 0.7915 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.865e-05/0.009536, allocations: 4.5 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.009574, allocations: 3.984 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.009583, allocations: 5.125 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.17e-05/0.009665, allocations: 135.1 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009665, allocations: 0 / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001876/0.009852, allocations: 13.16 kB / 0.7917 GB, free: 7.152 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,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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 0.000121/0.009973, allocations: 104.9 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.01015, allocations: 64.06 kB / 0.7918 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01016, allocations: 0 / 0.7918 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.01023, allocations: 39.86 kB / 0.7919 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.01037, allocations: 4.969 kB / 0.7919 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01073, allocations: 176.1 kB / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.098e-05/0.0108, allocations: 76.92 kB / 0.7921 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.279e-05/0.01084, allocations: 9.875 kB / 0.7921 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.01089, allocations: 16.5 kB / 0.7921 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01089, allocations: 0 / 0.7921 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of Templates: time 0.003606/0.0145, allocations: 0.7332 MB / 0.7929 GB, free: 5.906 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.985144094098359]