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.000792/0.000792, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.001934, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007059/0.0007059, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008851/0.001591, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9197/0.9197, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09092/1.011, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.879/1.879, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5271/2.406, allocations: 123.3 MB / 0.728 GB, free: 5.84 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.454e-06/2.454e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.108e-05, allocations: 8.641 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001894/0.001915, allocations: 1.559 MB / 0.7309 GB, free: 2.988 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008111/0.002726, allocations: 0.5515 MB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.085e-05/0.002767, allocations: 0.5 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.002794, allocations: 9.328 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.002923, allocations: 15.05 kB / 0.7314 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.003042, allocations: 37.39 kB / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.344e-05/0.003136, allocations: 56.81 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.112e-05/0.003217, allocations: 9.25 kB / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.003368, allocations: 47.61 kB / 0.7316 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.251e-05/0.003451, allocations: 26.22 kB / 0.7316 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.003468, allocations: 4 kB / 0.7316 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.003541, allocations: 12.94 kB / 0.7316 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.00356, allocations: 13.03 kB / 0.7316 GB, free: 2.234 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.003589, allocations: 12.5 kB / 0.7316 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003704, allocations: 47.77 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.808e-05/0.003722, allocations: 0.875 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003723, allocations: 0 / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.003742, allocations: 1.438 kB / 0.7317 GB, free: 2.176 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.0005329/0.004274, allocations: 260.5 kB / 0.7319 GB, free: 1.898 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.004311, allocations: 12.69 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.004486, allocations: 90.72 kB / 0.732 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.004591, allocations: 119.4 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.00461, allocations: 8.375 kB / 0.7322 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.004621, allocations: 4.375 kB / 0.7322 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.004728, allocations: 62.92 kB / 0.7322 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.004739, allocations: 4.172 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.004748, allocations: 1.188 kB / 0.7322 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.004757, allocations: 7.938 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.636e-05/0.004793, allocations: 12.44 kB / 0.7322 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003044/0.005097, allocations: 169 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.005246, allocations: 51.11 kB / 0.7325 GB, free: 1.297 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.005265, allocations: 14.08 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.005279, allocations: 0 / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.005396, allocations: 71.38 kB / 0.7325 GB, free: 1.199 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.005397, allocations: 4.875 kB / 0.7325 GB, free: 1.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001256/0.005523, allocations: 61.61 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.005566, allocations: 52.03 kB / 0.7326 GB, free: 1.066 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.005625, allocations: 114.7 kB / 0.7328 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.00564, allocations: 26.39 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/0.005998, allocations: 84.14 kB / 0.7329 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.006023, allocations: 29.52 kB / 0.7329 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.006059, allocations: 25.66 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.006133, allocations: 318.8 kB / 0.7332 GB, free: 456 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.006148, allocations: 8 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.006165, allocations: 16.52 kB / 0.7332 GB, free: 432 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.0062, allocations: 32.78 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.006203, allocations: 1 kB / 0.7333 GB, free: 396 kB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.258e-05/0.006265, allocations: 61.61 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.006281, allocations: 12.47 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.006286, allocations: 0 / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.006296, allocations: 1.125 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.00636, allocations: 15.98 kB / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.006363, allocations: 0 / 0.7334 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.006394, allocations: 4.719 kB / 0.7334 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.0064, allocations: 0 / 0.7334 GB, free: 296 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.495e-05/0.006465, allocations: 123.3 kB / 0.7335 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.006473, allocations: 4 kB / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.797e-05/0.006571, allocations: 73.72 kB / 0.7336 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.006572, allocations: 0.5625 kB / 0.7336 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.006575, allocations: 5.75 kB / 0.7336 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006578, allocations: 0 / 0.7336 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.556e-05/0.006663, allocations: 85.92 kB / 0.7336 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006664, allocations: 3.844 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.006699, allocations: 12 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.00671, allocations: 9.156 kB / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.006711, allocations: 0 / 0.7337 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.006718, allocations: 7.922 kB / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.006719, allocations: 1.594 kB / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.00672, allocations: 0 / 0.7337 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.006802, allocations: 97.06 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.006818, allocations: 4 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.006841, allocations: 0.75 kB / 0.7338 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.006873, allocations: 15.92 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.006878, allocations: 0.625 kB / 0.7338 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.461e-05/0.006892, allocations: 12.84 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006892, allocations: 0.75 kB / 0.7338 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.41e-05/0.006986, allocations: 16 kB / 0.7338 GB, free: 15.77 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 7.427e-05/0.007061, allocations: 81.45 kB / 0.7339 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.007137, allocations: 38.41 kB / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.007142, allocations: 0 / 0.7339 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.007174, allocations: 32.95 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.334e-05/0.007248, allocations: 20.67 kB / 0.734 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.008031, allocations: 157.6 kB / 0.7341 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.921e-05/0.00806, allocations: 59.34 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.00809, allocations: 6.188 kB / 0.7342 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/0.008136, allocations: 55.38 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of SimCode: time 5.92e-07/0.008136, allocations: 1.094 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.00212/0.01026, allocations: 0.7749 MB / 0.735 GB, free: 14.54 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.792582225985825]