Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.00105/0.00105, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001475/0.002525, 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.001046/0.001046, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002418, allocations: 475.6 kB / 11.8 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.8812/0.8812, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0758/0.957, 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.298/2.298, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2197/2.517, allocations: 146 MB / 0.8176 GB, free: 3.848 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.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8189 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.467e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.527 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001755/0.00178, allocations: 0.5948 MB / 0.8195 GB, free: 1.926 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 4.605e-05/0.001826, allocations: 19.91 kB / 0.8195 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.001843, allocations: 0 / 0.8195 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.958e-06/0.001847, allocations: 0 / 0.8195 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.001886, allocations: 0 / 0.8195 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.00189, allocations: 0 / 0.8195 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.272e-05/0.001942, allocations: 7.938 kB / 0.8195 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.001978, allocations: 3.984 kB / 0.8195 GB, free: 1.895 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.002029, allocations: 8 kB / 0.8195 GB, free: 1.887 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.002069, allocations: 7.938 kB / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.002088, allocations: 0 / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-06/0.002095, allocations: 0 / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.002109, allocations: 0 / 0.8195 GB, free: 1.879 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.002121, allocations: 4 kB / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.817e-05/0.002179, allocations: 0 / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.002192, allocations: 0 / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.62e-07/0.002193, allocations: 0 / 0.8195 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.002208, allocations: 0 / 0.8195 GB, free: 1.875 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003064/0.002514, allocations: 232.6 kB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.002549, allocations: 8.031 kB / 0.8198 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.002585, allocations: 4.938 kB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.17e-05/0.002666, allocations: 105.8 kB / 0.8199 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.002676, allocations: 384 / 0.8199 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.002687, allocations: 384 / 0.8199 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.002793, allocations: 51.95 kB / 0.8199 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.002804, allocations: 4.188 kB / 0.8199 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.022e-06/0.00281, allocations: 4.312 kB / 0.8199 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.002816, allocations: 384 / 0.8199 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.002835, allocations: 7.875 kB / 0.8199 GB, free: 1.402 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.002938, allocations: 61.91 kB / 0.82 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.002992, allocations: 41.2 kB / 0.82 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.003014, allocations: 17.78 kB / 0.8201 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.003036, allocations: 4 kB / 0.8201 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.003063, allocations: 34.56 kB / 0.8201 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.003063, allocations: 0 / 0.8201 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.000116/0.003179, allocations: 37.64 kB / 0.8201 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.003228, allocations: 81.09 kB / 0.8202 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.003295, allocations: 98.7 kB / 0.8203 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.003308, allocations: 26.08 kB / 0.8203 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.003334, allocations: 88.14 kB / 0.8204 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.003364, allocations: 3.953 kB / 0.8204 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.003396, allocations: 13.72 kB / 0.8204 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.003496, allocations: 318.8 kB / 0.8207 GB, free: 492 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.003507, allocations: 0 / 0.8207 GB, free: 492 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.003528, allocations: 17.7 kB / 0.8208 GB, free: 468 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/0.003561, allocations: 17.66 kB / 0.8208 GB, free: 444 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.003563, allocations: 0 / 0.8208 GB, free: 444 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.614e-05/0.003639, allocations: 45.69 kB / 0.8208 GB, free: 392 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.003653, allocations: 4 kB / 0.8208 GB, free: 388 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.003658, allocations: 0 / 0.8208 GB, free: 388 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.003674, allocations: 4 kB / 0.8208 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.003754, allocations: 4 kB / 0.8208 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.003758, allocations: 0 / 0.8208 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.003773, allocations: 0 / 0.8208 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.003781, allocations: 4 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.194e-05/0.003853, allocations: 117.8 kB / 0.8209 GB, free: 248 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.003862, allocations: 4.062 kB / 0.8209 GB, free: 244 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.003965, allocations: 48.62 kB / 0.821 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.003967, allocations: 0 / 0.821 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.003971, allocations: 3.984 kB / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.003975, allocations: 0 / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.585e-05/0.004051, allocations: 65.84 kB / 0.8211 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.004052, allocations: 3.938 kB / 0.8211 GB, free: 100 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.004079, allocations: 4 kB / 0.8211 GB, free: 96 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.004105, allocations: 4 kB / 0.8211 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.004107, allocations: 64 / 0.8211 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.004112, allocations: 4 kB / 0.8211 GB, free: 88 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.004115, allocations: 3.984 kB / 0.8211 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.004116, allocations: 0 / 0.8211 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.329e-05/0.00421, allocations: 73.88 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-06/0.004219, allocations: 0 / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.632e-05/0.004235, allocations: 3.984 kB / 0.8212 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.00425, allocations: 4 kB / 0.8212 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.004253, allocations: 0 / 0.8212 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.164e-05/0.004265, allocations: 4.859 kB / 0.8212 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.004265, allocations: 4.125 kB / 0.8212 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001744/0.004439, allocations: 4 kB / 0.8212 GB, free: 15.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 0.0001137/0.004553, allocations: 76.36 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.698e-05/0.00463, allocations: 24.78 kB / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.004635, allocations: 0 / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.004653, allocations: 8.859 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.486e-05/0.004738, allocations: 17.33 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002108/0.004948, allocations: 106 kB / 0.8214 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.004983, allocations: 51.36 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.005003, allocations: 3.938 kB / 0.8214 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.005051, allocations: 55.38 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/0.005052, allocations: 0 / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.001777/0.006828, allocations: 240.2 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.855651127174497]