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.0008478/0.0008478, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001265/0.002113, allocations: 440 kB / 10.41 MB, free: 284 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.0008488/0.0008488, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002177, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9508/0.9508, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09199/1.043, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.405/2.405, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2407/2.646, allocations: 146 MB / 0.8176 GB, free: 3.832 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.382e-06/1.382e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.432e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001913/0.001937, allocations: 1.556 MB / 0.8205 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.002535, allocations: 0.5452 MB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.002566, allocations: 0 / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.002586, allocations: 3.938 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.002699, allocations: 31.78 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.89e-05/0.002798, allocations: 27.91 kB / 0.8211 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.275e-05/0.002871, allocations: 59.78 kB / 0.8211 GB, free: 248 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.93e-05/0.00294, allocations: 7.938 kB / 0.8211 GB, free: 240 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.003084, allocations: 51.83 kB / 0.8212 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.145e-05/0.003156, allocations: 19.97 kB / 0.8212 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.003171, allocations: 4 kB / 0.8212 GB, free: 164 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.003227, allocations: 8 kB / 0.8212 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.003247, allocations: 11.94 kB / 0.8212 GB, free: 144 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.003269, allocations: 12 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.67e-05/0.003366, allocations: 47.83 kB / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.003377, allocations: 0 / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.133e-06/0.003379, allocations: 0 / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.003391, allocations: 0 / 0.8213 GB, free: 84 kB / 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.0004515/0.003843, allocations: 272.4 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.003872, allocations: 16.02 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.00403, allocations: 90.03 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.687e-05/0.004107, allocations: 117.7 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.004119, allocations: 8.375 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.004132, allocations: 8.375 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.88e-05/0.004211, allocations: 58.92 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.004218, allocations: 192 / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.004225, allocations: 4.375 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.004232, allocations: 7.938 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.673e-05/0.004259, allocations: 11.98 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.0045, allocations: 172.2 kB / 0.822 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.004614, allocations: 42.56 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.004635, allocations: 28.91 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.004645, allocations: 0 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.139e-05/0.004737, allocations: 63.38 kB / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.004737, allocations: 0 / 0.8221 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001094/0.004847, allocations: 65.55 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.004884, allocations: 59.39 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.004949, allocations: 106.7 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.004963, allocations: 25.7 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.004992, allocations: 88.12 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.005015, allocations: 23.78 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.005047, allocations: 29.7 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.848e-05/0.005115, allocations: 318.8 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.005131, allocations: 8 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.005147, allocations: 15.92 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.005183, allocations: 24.84 kB / 0.8229 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005184, allocations: 3.938 kB / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.127e-05/0.005245, allocations: 57.61 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.005257, allocations: 11.94 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005262, allocations: 4 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.005273, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.005336, allocations: 19.98 kB / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-06/0.005339, allocations: 0 / 0.823 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.00537, allocations: 8 kB / 0.823 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.005377, allocations: 3.984 kB / 0.823 GB, free: 14.16 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.549e-05/0.005432, allocations: 113.8 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.005441, allocations: 8 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.005536, allocations: 77.66 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.005537, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005539, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.005542, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.868e-05/0.00561, allocations: 85.83 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005612, allocations: 0 / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.005647, allocations: 19.94 kB / 0.8233 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.00566, allocations: 15.92 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005661, allocations: 0 / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005667, allocations: 3.938 kB / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005668, allocations: 0 / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.00567, allocations: 192 / 0.8233 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.968e-05/0.005739, allocations: 89.42 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.005755, allocations: 11.92 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.005777, allocations: 0 / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.00581, allocations: 15.92 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.005818, allocations: 7.984 kB / 0.8234 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.403e-05/0.005832, allocations: 8.859 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005832, allocations: 0 / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.697e-05/0.005929, allocations: 12 kB / 0.8234 GB, free: 13.65 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 7.625e-05/0.006005, allocations: 84.42 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.505e-05/0.00608, allocations: 48.69 kB / 0.8235 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.006085, allocations: 4 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.641e-05/0.006122, allocations: 24.84 kB / 0.8236 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.99e-05/0.006191, allocations: 22.25 kB / 0.8236 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.006951, allocations: 152.5 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.015e-05/0.006981, allocations: 63.34 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.007013, allocations: 4 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.007063, allocations: 59.36 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of SimCode: time 4.71e-07/0.007063, allocations: 4 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of Templates: time 0.002294/0.009357, allocations: 0.7813 MB / 0.8246 GB, free: 12.37 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0319573525339365]