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.000857/0.000857, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002104, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007747/0.0007747, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001071/0.001845, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.956/0.956, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09892/1.055, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.904/1.904, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4667/2.371, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.7297 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/2.037e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002001/0.002022, allocations: 1.566 MB / 0.7312 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.0027, allocations: 0.5583 MB / 0.7317 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.002739, allocations: 0 / 0.7317 GB, free: 2.324 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.002765, allocations: 3.938 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.002883, allocations: 19.03 kB / 0.7318 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.835e-05/0.002982, allocations: 29.06 kB / 0.7318 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.003064, allocations: 65.14 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.003136, allocations: 6.391 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.003278, allocations: 47.02 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.82e-05/0.003356, allocations: 29.27 kB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.003372, allocations: 4.531 kB / 0.7319 GB, free: 2.145 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.598e-05/0.003438, allocations: 13.5 kB / 0.7319 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.003459, allocations: 9.531 kB / 0.7319 GB, free: 2.125 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.003485, allocations: 9.422 kB / 0.732 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.003601, allocations: 43.28 kB / 0.732 GB, free: 2.078 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.003614, allocations: 5.031 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003614, allocations: 0 / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.003629, allocations: 0 / 0.732 GB, free: 2.074 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000754/0.004383, allocations: 261.7 kB / 0.7323 GB, free: 1.797 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.004415, allocations: 13.16 kB / 0.7323 GB, free: 1.785 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.004572, allocations: 94.02 kB / 0.7324 GB, free: 1.676 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.645e-05/0.004658, allocations: 122.5 kB / 0.7325 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004671, allocations: 8.375 kB / 0.7325 GB, free: 1.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.004684, allocations: 4.375 kB / 0.7325 GB, free: 1.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.24e-05/0.004776, allocations: 67.69 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004783, allocations: 4.172 kB / 0.7326 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.00479, allocations: 1 kB / 0.7326 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.004798, allocations: 8.844 kB / 0.7326 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.56e-05/0.004824, allocations: 11.98 kB / 0.7326 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.005071, allocations: 172.9 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.005201, allocations: 47.97 kB / 0.7328 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.00522, allocations: 16.84 kB / 0.7328 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.005231, allocations: 0 / 0.7328 GB, free: 1.164 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.005335, allocations: 64.03 kB / 0.7329 GB, free: 1.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.005336, allocations: 4 kB / 0.7329 GB, free: 1.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001194/0.005455, allocations: 67.03 kB / 0.7329 GB, free: 1.016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.005494, allocations: 55.39 kB / 0.733 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.005545, allocations: 106.7 kB / 0.7331 GB, free: 0.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.005557, allocations: 25.7 kB / 0.7331 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.005586, allocations: 85.73 kB / 0.7332 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.005612, allocations: 27.77 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.005644, allocations: 25.7 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.005724, allocations: 318.8 kB / 0.7335 GB, free: 344 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.005739, allocations: 8.719 kB / 0.7336 GB, free: 336 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/0.005753, allocations: 11.92 kB / 0.7336 GB, free: 324 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.005794, allocations: 38.28 kB / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005796, allocations: 0 / 0.7336 GB, free: 284 kB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.47e-05/0.005861, allocations: 57.61 kB / 0.7337 GB, free: 220 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.005875, allocations: 14.53 kB / 0.7337 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.005878, allocations: 0 / 0.7337 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.005892, allocations: 0 / 0.7337 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.00596, allocations: 19.98 kB / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.005964, allocations: 0 / 0.7337 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.005996, allocations: 5.312 kB / 0.7337 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006003, allocations: 3.984 kB / 0.7337 GB, free: 180 kB / 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 (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 6.347e-05/0.006066, allocations: 115.2 kB / 0.7338 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.186e-06/0.006074, allocations: 4 kB / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.006185, allocations: 81.58 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006186, allocations: 5.25 kB / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.006188, allocations: 0 / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.006191, allocations: 0 / 0.7339 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/0.006263, allocations: 81.84 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.006264, allocations: 1.25 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.006297, allocations: 12 kB / 0.734 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.107e-05/0.006308, allocations: 15.91 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.00631, allocations: 0.9375 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.006316, allocations: 3.938 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.006317, allocations: 3.938 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006319, allocations: 0.5312 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.685e-05/0.006395, allocations: 86.23 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.006413, allocations: 4 kB / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.006435, allocations: 0 / 0.7341 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.00647, allocations: 20.67 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.006475, allocations: 3.984 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.322e-05/0.006488, allocations: 14.25 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006488, allocations: 0 / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.823e-05/0.006586, allocations: 12 kB / 0.7341 GB, free: 15.67 MB / 0.7136 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 8.136e-05/0.006668, allocations: 85.02 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/0.006749, allocations: 41.52 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.006756, allocations: 4 kB / 0.7343 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.006797, allocations: 38.08 kB / 0.7343 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.872e-05/0.006876, allocations: 13.88 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.007638, allocations: 152.7 kB / 0.7345 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.086e-05/0.007669, allocations: 63.34 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.007699, allocations: 5.969 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.908e-05/0.007748, allocations: 55.36 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of SimCode: time 4.4e-07/0.007749, allocations: 3.25 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.002058/0.009807, allocations: 0.7758 MB / 0.7353 GB, free: 14.42 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.850176271982491]