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.00107/0.00107, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002308, 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.0007768/0.0007768, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001839, 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.9294/0.9294, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08704/1.016, 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.263/2.263, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2267/2.489, allocations: 145.9 MB / 0.817 GB, free: 4.211 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.433e-06/1.433e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.823e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003618/0.003646, allocations: 1.761 MB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002876/0.006523, allocations: 1.761 MB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.006632, allocations: 3.938 kB / 0.8218 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.007091, allocations: 59.58 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003248/0.007416, allocations: 95.47 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.007616, allocations: 75.66 kB / 0.822 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.007868, allocations: 179.6 kB / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.007916, allocations: 4 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03921/0.04712, allocations: 11.44 MB / 0.8333 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.04726, allocations: 51.88 kB / 0.8334 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.04729, allocations: 8 kB / 0.8334 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.04741, allocations: 55.97 kB / 0.8334 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.04747, allocations: 39.86 kB / 0.8335 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.04752, allocations: 27.88 kB / 0.8335 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.04777, allocations: 147.4 kB / 0.8336 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.04778, allocations: 0 / 0.8336 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.653e-06/0.04778, allocations: 0 / 0.8336 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.0478, allocations: 0 / 0.8336 GB, free: 7.258 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.0004477/0.04825, allocations: 399.4 kB / 0.834 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.04828, allocations: 8.031 kB / 0.834 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.04831, allocations: 16.92 kB / 0.834 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.0485, allocations: 190.3 kB / 0.8342 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.04851, allocations: 4.375 kB / 0.8342 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.04852, allocations: 8.375 kB / 0.8342 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.04865, allocations: 93.72 kB / 0.8343 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.04866, allocations: 7.875 kB / 0.8343 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.04867, allocations: 0 / 0.8343 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.04867, allocations: 0 / 0.8343 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.04876, allocations: 87.84 kB / 0.8344 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.818e-05/0.04886, allocations: 86.67 kB / 0.8345 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.04907, allocations: 137.4 kB / 0.8346 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.04911, allocations: 36.77 kB / 0.8347 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.04912, allocations: 8 kB / 0.8347 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.04923, allocations: 93.86 kB / 0.8348 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.04923, allocations: 0 / 0.8348 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001531/0.04939, allocations: 93.66 kB / 0.8349 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.04941, allocations: 55.34 kB / 0.8349 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.04952, allocations: 194.3 kB / 0.8351 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.04953, allocations: 29.7 kB / 0.8351 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.04956, allocations: 100.1 kB / 0.8352 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.04961, allocations: 51.56 kB / 0.8353 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.04964, allocations: 29.7 kB / 0.8353 GB, free: 5.414 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.04972, allocations: 334.8 kB / 0.8356 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.04975, allocations: 22.81 kB / 0.8356 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.04978, allocations: 33.64 kB / 0.8357 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.157e-05/0.04985, allocations: 63.33 kB / 0.8357 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.04985, allocations: 0 / 0.8357 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.515e-05/0.04995, allocations: 92.42 kB / 0.8358 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.04996, allocations: 4 kB / 0.8358 GB, free: 4.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.04997, allocations: 4.031 kB / 0.8358 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.04997, allocations: 7.984 kB / 0.8358 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.238e-05/0.05007, allocations: 31.92 kB / 0.8359 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.05007, allocations: 4 kB / 0.8359 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.102e-05/0.0501, allocations: 7.953 kB / 0.8359 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.05011, allocations: 3.984 kB / 0.8359 GB, free: 4.785 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.661e-05/0.05018, allocations: 120.6 kB / 0.836 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.05019, allocations: 15.98 kB / 0.836 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.05035, allocations: 142.3 kB / 0.8361 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.05035, allocations: 8 kB / 0.8362 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.05035, allocations: 3.938 kB / 0.8362 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.05036, allocations: 7.984 kB / 0.8362 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.05046, allocations: 121.7 kB / 0.8363 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.05046, allocations: 0 / 0.8363 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.05053, allocations: 43.92 kB / 0.8363 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.05055, allocations: 23.8 kB / 0.8363 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.05055, allocations: 3.984 kB / 0.8363 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.05056, allocations: 4 kB / 0.8364 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.05056, allocations: 0 / 0.8364 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.05056, allocations: 0 / 0.8364 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.05067, allocations: 146.6 kB / 0.8365 GB, free: 4.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.0507, allocations: 15.92 kB / 0.8365 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.42e-05/0.05072, allocations: 8 kB / 0.8365 GB, free: 4.078 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.05075, allocations: 15.97 kB / 0.8365 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.05076, allocations: 4 kB / 0.8365 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.05081, allocations: 69.72 kB / 0.8366 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.05081, allocations: 0 / 0.8366 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001273/0.05094, allocations: 35.94 kB / 0.8366 GB, free: 3.953 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.001103/0.05204, allocations: 0.5648 MB / 0.8372 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.05215, allocations: 76.7 kB / 0.8373 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.05216, allocations: 4 kB / 0.8373 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.05221, allocations: 60.31 kB / 0.8373 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.05236, allocations: 55.84 kB / 0.8374 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.05285, allocations: 315.8 kB / 0.8377 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.028e-05/0.05289, allocations: 75.98 kB / 0.8377 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.087e-05/0.05296, allocations: 41.98 kB / 0.8378 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.983e-05/0.05306, allocations: 91.36 kB / 0.8379 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.05306, allocations: 0 / 0.8379 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of Templates: time 0.004433/0.05749, allocations: 3.109 MB / 0.8409 GB, free: 15.85 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1388474171981215]