Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.0007893/0.0007893, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001051/0.00184, 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.0006796/0.0006796, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008459/0.001525, 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.9224/0.9224, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09485/1.017, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.264/2.264, allocations: 447.1 MB / 0.675 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2199/2.484, allocations: 146 MB / 0.8176 GB, free: 3.848 MB / 0.7917 GB " [Timeout remaining time 178] 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.819 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.32e-05, allocations: 2.312 kB / 0.819 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.005857/0.00588, allocations: 1.759 MB / 0.8207 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002307/0.008187, allocations: 1.781 MB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.956e-05/0.008257, allocations: 0 / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.01162, allocations: 59.52 kB / 0.8225 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.01186, allocations: 95.42 kB / 0.8226 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.01203, allocations: 83.53 kB / 0.8226 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.01226, allocations: 171.7 kB / 0.8228 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.01231, allocations: 11.94 kB / 0.8228 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04313/0.05544, allocations: 11.45 MB / 0.834 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.05557, allocations: 55.88 kB / 0.8341 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.0556, allocations: 12 kB / 0.8341 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.05573, allocations: 43.98 kB / 0.8341 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.0558, allocations: 39.86 kB / 0.8341 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.05585, allocations: 27.94 kB / 0.8342 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.05611, allocations: 147.4 kB / 0.8343 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.05613, allocations: 0 / 0.8343 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.144e-06/0.05613, allocations: 0 / 0.8343 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.05614, allocations: 0 / 0.8343 GB, free: 6.852 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004732/0.05661, allocations: 403.4 kB / 0.8347 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.05665, allocations: 16.03 kB / 0.8347 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.05669, allocations: 12.92 kB / 0.8347 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.05689, allocations: 186.4 kB / 0.8349 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.0569, allocations: 4.375 kB / 0.8349 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.05691, allocations: 4.375 kB / 0.8349 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.05705, allocations: 97.66 kB / 0.835 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.05706, allocations: 3.938 kB / 0.835 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.05707, allocations: 0 / 0.835 GB, free: 6.078 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.05707, allocations: 7.938 kB / 0.835 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.05716, allocations: 79.86 kB / 0.8351 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.924e-05/0.05726, allocations: 94.66 kB / 0.8352 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.05748, allocations: 137.3 kB / 0.8353 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.05751, allocations: 20.84 kB / 0.8353 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.05752, allocations: 7.984 kB / 0.8353 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.05764, allocations: 94.09 kB / 0.8354 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.05764, allocations: 0 / 0.8354 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001701/0.05781, allocations: 97.66 kB / 0.8355 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.05784, allocations: 59.34 kB / 0.8356 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.05795, allocations: 190.3 kB / 0.8358 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.05797, allocations: 33.7 kB / 0.8358 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.058, allocations: 100.1 kB / 0.8359 GB, free: 5.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.05804, allocations: 43.58 kB / 0.8359 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.05807, allocations: 41.69 kB / 0.836 GB, free: 5 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.05815, allocations: 326.8 kB / 0.8363 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.068e-05/0.05818, allocations: 18.92 kB / 0.8363 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.05821, allocations: 41.56 kB / 0.8363 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.05828, allocations: 63.33 kB / 0.8364 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.05828, allocations: 0 / 0.8364 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001276/0.05841, allocations: 100 kB / 0.8365 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.05843, allocations: 8 kB / 0.8365 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.05843, allocations: 4 kB / 0.8365 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.05844, allocations: 3.984 kB / 0.8365 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.05853, allocations: 31.92 kB / 0.8365 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.05854, allocations: 0 / 0.8365 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.05857, allocations: 11.95 kB / 0.8365 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.05857, allocations: 3.984 kB / 0.8366 GB, free: 4.371 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.413e-05/0.05864, allocations: 120.6 kB / 0.8367 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.05866, allocations: 20.02 kB / 0.8367 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.05882, allocations: 142.9 kB / 0.8368 GB, free: 4.074 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.05883, allocations: 4 kB / 0.8368 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.05883, allocations: 0 / 0.8368 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.05883, allocations: 3.984 kB / 0.8368 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.918e-05/0.05893, allocations: 125.7 kB / 0.837 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.05893, allocations: 0 / 0.837 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.059, allocations: 39.92 kB / 0.837 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.05902, allocations: 23.8 kB / 0.837 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.05902, allocations: 3.984 kB / 0.837 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.05903, allocations: 12 kB / 0.837 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.05903, allocations: 0 / 0.837 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.05903, allocations: 0 / 0.837 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.05915, allocations: 150.3 kB / 0.8372 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.05918, allocations: 15.92 kB / 0.8372 GB, free: 3.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.717e-05/0.0592, allocations: 4 kB / 0.8372 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.05924, allocations: 15.97 kB / 0.8372 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.05925, allocations: 4 kB / 0.8372 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.695e-05/0.0593, allocations: 69.72 kB / 0.8373 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.0593, allocations: 0 / 0.8373 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001248/0.05942, allocations: 43.88 kB / 0.8373 GB, free: 3.531 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,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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 0.001196/0.06062, allocations: 0.5581 MB / 0.8379 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.06073, allocations: 72.7 kB / 0.8379 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.06074, allocations: 4 kB / 0.8379 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.06081, allocations: 68.75 kB / 0.838 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001963/0.061, allocations: 204.5 kB / 0.8382 GB, free: 2.863 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.06153, allocations: 311.7 kB / 0.8385 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.06e-05/0.06157, allocations: 75.98 kB / 0.8386 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.181e-05/0.06163, allocations: 41.86 kB / 0.8386 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.995e-05/0.06173, allocations: 91.36 kB / 0.8387 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.06173, allocations: 0 / 0.8387 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of Templates: time 0.004667/0.0664, allocations: 3.114 MB / 0.8417 GB, free: 15.23 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.032747588120401]