Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008847/0.0008847, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001932, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007411/0.0007411, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009315/0.001673, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/1.126, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.373/2.373, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2586/2.631, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.791e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001744/0.001762, allocations: 1.56 MB / 0.8198 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006214/0.002384, allocations: 0.549 MB / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.002417, allocations: 0 / 0.8204 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.002442, allocations: 7.938 kB / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.002559, allocations: 27.78 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.268e-05/0.002651, allocations: 23.91 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.002726, allocations: 55.84 kB / 0.8205 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.59e-05/0.002812, allocations: 19.86 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.002953, allocations: 39.95 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.003022, allocations: 23.91 kB / 0.8206 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.003038, allocations: 4 kB / 0.8206 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.672e-05/0.003105, allocations: 20 kB / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.003118, allocations: 4 kB / 0.8206 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.003142, allocations: 15.94 kB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.00325, allocations: 43.83 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.48e-05/0.003265, allocations: 0 / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003265, allocations: 0 / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.003278, allocations: 0 / 0.8206 GB, free: 0.5 MB / 0.7917 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.0004201/0.003699, allocations: 272.4 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.003729, allocations: 12.56 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.003867, allocations: 98.03 kB / 0.821 GB, free: 88 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.306e-05/0.003951, allocations: 113.7 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.003963, allocations: 8.359 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.003971, allocations: 4.375 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.653e-05/0.004057, allocations: 58.94 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.004064, allocations: 4.125 kB / 0.8212 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.004071, allocations: 4.375 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.004077, allocations: 3.938 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.968e-05/0.004106, allocations: 11.98 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.004424, allocations: 172.2 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.004543, allocations: 54.61 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.004557, allocations: 12.86 kB / 0.8214 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.004572, allocations: 7.938 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.504e-05/0.004667, allocations: 59.38 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.004668, allocations: 0 / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001113/0.004779, allocations: 65.61 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.004819, allocations: 55.39 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.37e-05/0.004873, allocations: 110.6 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.004886, allocations: 29.7 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.004915, allocations: 88.14 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.004937, allocations: 19.78 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.004971, allocations: 25.7 kB / 0.8219 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.005055, allocations: 322.8 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.005069, allocations: 8 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.133e-05/0.00508, allocations: 8 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.715e-05/0.005117, allocations: 32.81 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.005119, allocations: 0 / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.206e-05/0.005181, allocations: 65.61 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.005194, allocations: 11.94 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.005198, allocations: 320 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.005207, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.232e-05/0.005269, allocations: 15.98 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.005273, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.0053, allocations: 4 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.005306, allocations: 3.984 kB / 0.8223 GB, free: 14.59 MB / 0.8073 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 5.322e-05/0.00536, allocations: 121.7 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.915e-06/0.005367, allocations: 7.984 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.005462, allocations: 73.67 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.005463, allocations: 4 kB / 0.8225 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.005465, allocations: 3.984 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005469, allocations: 0 / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.523e-05/0.005534, allocations: 85.84 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.005535, allocations: 0 / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.251e-05/0.005567, allocations: 15.98 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.005576, allocations: 7.938 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005577, allocations: 0 / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.005583, allocations: 3.938 kB / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005584, allocations: 0 / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005585, allocations: 0 / 0.8226 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.712e-05/0.005652, allocations: 105.3 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.005664, allocations: 192 / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.005685, allocations: 0 / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.005712, allocations: 19.91 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.005716, allocations: 4 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.016e-05/0.005727, allocations: 8.844 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005727, allocations: 4 kB / 0.8228 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.384e-05/0.00582, allocations: 12 kB / 0.8228 GB, free: 14.07 MB / 0.8073 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 6.735e-05/0.005888, allocations: 80.42 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.414e-05/0.005972, allocations: 44.77 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.005977, allocations: 0 / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/0.006009, allocations: 32.78 kB / 0.8229 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.468e-05/0.006073, allocations: 8 kB / 0.8229 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007571/0.006831, allocations: 162.7 kB / 0.8231 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.719e-05/0.006858, allocations: 59.34 kB / 0.8232 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.006888, allocations: 12 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.006938, allocations: 51.38 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of SimCode: time 1.243e-06/0.006939, allocations: 3.938 kB / 0.8232 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of Templates: time 0.002165/0.009105, allocations: 0.7719 MB / 0.824 GB, free: 12.81 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime/Buildings_latest_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: 5.230414983816445]