Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001353/0.001353, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001586/0.001586, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.813/2.813, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 67.89 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002203/1.049, allocations: 1.468 MB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007667/1.05, allocations: 0.5188 MB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.326e-05/1.05, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/1.05, allocations: 3.938 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/1.05, allocations: 21.5 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001426/1.05, allocations: 38.98 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/1.05, allocations: 49.83 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/1.05, allocations: 6.906 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/1.051, allocations: 28.91 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/1.051, allocations: 19.55 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/1.051, allocations: 2.656 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.483e-05/1.051, allocations: 15.53 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/1.051, allocations: 14.09 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/1.051, allocations: 12.84 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/1.051, allocations: 61.3 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.051, allocations: 4 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.353e-06/1.051, allocations: 0 / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.619e-06/1.051, allocations: 0 / 1.156 GB, free: 31.85 MB / 1.076 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.0004891/1.051, allocations: 280.3 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/1.051, allocations: 8.781 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/1.052, allocations: 10.45 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.706e-05/1.052, allocations: 119.6 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/1.052, allocations: 4.375 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/1.052, allocations: 3.438 kB / 1.157 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/1.052, allocations: 63.7 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.052, allocations: 0 / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/1.052, allocations: 0 / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.052, allocations: 2.875 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.062e-05/1.052, allocations: 30.89 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/1.052, allocations: 212.6 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/1.052, allocations: 64.45 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/1.052, allocations: 25.2 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/1.052, allocations: 0 / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/1.053, allocations: 72.34 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/1.053, allocations: 0 / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0002101/1.053, allocations: 96.86 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/1.053, allocations: 51.41 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.633e-05/1.053, allocations: 102.7 kB / 1.157 GB, free: 30.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.779e-06/1.053, allocations: 32.39 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.234e-05/1.053, allocations: 84.14 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/1.053, allocations: 22.05 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/1.053, allocations: 22.78 kB / 1.157 GB, free: 30.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.448e-05/1.053, allocations: 324.6 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/1.053, allocations: 13.53 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.625e-05/1.053, allocations: 15.59 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/1.053, allocations: 42.94 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.053, allocations: 0 / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.842e-05/1.053, allocations: 73.8 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/1.053, allocations: 5.531 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/1.053, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/1.053, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.24e-05/1.053, allocations: 15.72 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/1.053, allocations: 7.422 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/1.053, allocations: 3.031 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/1.053, allocations: 3.031 kB / 1.158 GB, free: 30.26 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (7): * Single equations (assignments): 7 * 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 5.123e-05/1.053, allocations: 117.4 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/1.053, allocations: 3.953 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/1.054, allocations: 108.3 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/1.054, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/1.054, allocations: 2.656 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.054, allocations: 0 / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.786e-05/1.054, allocations: 115.2 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.054, allocations: 4 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/1.054, allocations: 15.81 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.054, allocations: 2.875 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/1.054, allocations: 256 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.054, allocations: 4 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.054, allocations: 0 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/1.054, allocations: 130.9 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/1.054, allocations: 2.719 kB / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/1.054, allocations: 0 / 1.158 GB, free: 29.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/1.054, allocations: 14.05 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/1.054, allocations: 10.36 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/1.054, allocations: 2.906 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.653e-05/1.054, allocations: 93.27 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.054, allocations: 0 / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001904/1.054, allocations: 12.47 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.523e-05/1.054, allocations: 103.9 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001342/1.054, allocations: 51.53 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/1.054, allocations: 0 / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.187e-05/1.054, allocations: 28.47 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/1.055, allocations: 14.94 kB / 1.159 GB, free: 29.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/1.055, allocations: 147.3 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/1.055, allocations: 70.25 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.584e-05/1.055, allocations: 6.188 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/1.055, allocations: 14.16 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.055, allocations: 4 kB / 1.159 GB, free: 29.39 MB / 1.076 GB Notification: Performance of Templates: time 0.002905/1.058, allocations: 0.6817 MB / 1.16 GB, free: 29.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.964338860008866]