Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.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.001205/0.001205, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001569/0.002774, 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.001091/0.001091, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002514, 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 0.9956/0.9956, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08934/1.085, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.377/2.377, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2323/2.609, allocations: 145.9 MB / 0.817 GB, free: 4.234 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.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.757e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU): time 0.001797/0.001814, allocations: 1.541 MB / 0.8198 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.002575, allocations: 466.7 kB / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.002615, allocations: 0 / 0.8202 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.002635, allocations: 3.938 kB / 0.8203 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.649e-05/0.002662, allocations: 7.938 kB / 0.8203 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.546e-05/0.002757, allocations: 19.97 kB / 0.8203 GB, free: 0.875 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.734e-05/0.002835, allocations: 27.86 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.2e-05/0.002907, allocations: 4 kB / 0.8203 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.003027, allocations: 39.77 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.003071, allocations: 8 kB / 0.8204 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.003084, allocations: 4 kB / 0.8204 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.003138, allocations: 8 kB / 0.8204 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.957e-06/0.003147, allocations: 0 / 0.8204 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.003161, allocations: 7.938 kB / 0.8204 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.897e-05/0.00325, allocations: 15.98 kB / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.561e-05/0.003265, allocations: 0 / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003266, allocations: 0 / 0.8204 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.003283, allocations: 0 / 0.8204 GB, free: 0.7617 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003304/0.003613, allocations: 252.5 kB / 0.8206 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.003648, allocations: 12.62 kB / 0.8206 GB, free: 492 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.003791, allocations: 94.03 kB / 0.8207 GB, free: 380 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.003908, allocations: 109.7 kB / 0.8208 GB, free: 244 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.003916, allocations: 4.359 kB / 0.8208 GB, free: 240 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.003922, allocations: 4.375 kB / 0.8208 GB, free: 236 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.848e-05/0.004001, allocations: 54.89 kB / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.004008, allocations: 192 / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-06/0.004013, allocations: 384 / 0.8209 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.004028, allocations: 3.938 kB / 0.8209 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.004049, allocations: 7.984 kB / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.004212, allocations: 148.3 kB / 0.821 GB, free: 16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.502e-05/0.004257, allocations: 26.61 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.004272, allocations: 16.86 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.004283, allocations: 0 / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.004302, allocations: 34.56 kB / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004302, allocations: 0 / 0.8211 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.221e-05/0.004394, allocations: 41.62 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.004422, allocations: 51.41 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.004467, allocations: 106.7 kB / 0.8213 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.004476, allocations: 25.7 kB / 0.8213 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.583e-05/0.004501, allocations: 88.25 kB / 0.8214 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.004516, allocations: 7.953 kB / 0.8214 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.004548, allocations: 17.7 kB / 0.8214 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.004613, allocations: 314.8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.004623, allocations: 7.922 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.004629, allocations: 4 kB / 0.8218 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.004649, allocations: 12.86 kB / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.004651, allocations: 0 / 0.8218 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.729e-05/0.004688, allocations: 37.69 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.004699, allocations: 8.094 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.004703, allocations: 0 / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.004711, allocations: 3.938 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.004769, allocations: 4 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.004772, allocations: 0 / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.004784, allocations: 7.938 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.004788, allocations: 7.922 kB / 0.8218 GB, free: 15.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.369e-05/0.004832, allocations: 105.8 kB / 0.8219 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.004843, allocations: 4 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.00486, allocations: 7.625 kB / 0.822 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004862, allocations: 7.938 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.004864, allocations: 0 / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.004866, allocations: 0 / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.276e-05/0.004938, allocations: 73.88 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.004939, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/0.004954, allocations: 4 kB / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-06/0.004959, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.00496, allocations: 0 / 0.822 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.004964, allocations: 3.984 kB / 0.822 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.004966, allocations: 7.938 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004967, allocations: 0 / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.859e-05/0.005035, allocations: 131.5 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.005043, allocations: 3.984 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.486e-05/0.005068, allocations: 0 / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.005089, allocations: 11.94 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.005091, allocations: 4 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.137e-05/0.005103, allocations: 17.14 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005103, allocations: 0 / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001075/0.00521, allocations: 4 kB / 0.8222 GB, free: 14.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 6.355e-05/0.005274, allocations: 76.42 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.242e-05/0.005326, allocations: 20.88 kB / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.005331, allocations: 0 / 0.8223 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.207e-05/0.005343, allocations: 12.84 kB / 0.8223 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.861e-05/0.005442, allocations: 15.94 kB / 0.8223 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.006006, allocations: 120.5 kB / 0.8224 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.946e-05/0.006035, allocations: 55.34 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.808e-05/0.006054, allocations: 12.11 kB / 0.8225 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.006089, allocations: 51.31 kB / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.00609, allocations: 0 / 0.8226 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of Templates: time 0.001613/0.007703, allocations: 342.1 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.KMinusU.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.936599685810506]