Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001601/0.001601, allocations: 100.8 kB / 19.74 MB, free: 2.066 MB / 14.72 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.00184/0.00184, allocations: 213.7 kB / 23.04 MB, free: 4.844 MB / 14.72 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 1.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.274/3.274, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.1.",fileNamePrefix="Buildings_12_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.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 68.66 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3811, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003653/0.3847, allocations: 1.666 MB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.3874, allocations: 1.66 MB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.243e-05/0.3875, allocations: 7.938 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005252/0.388, allocations: 55.73 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.3884, allocations: 103.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.3886, allocations: 75.73 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.3888, allocations: 179.5 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.3889, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.389, allocations: 67.77 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.3891, allocations: 80.59 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3892, allocations: 12 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3894, allocations: 104 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.3895, allocations: 55.83 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.3895, allocations: 55.64 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.3899, allocations: 243.1 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3899, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3899, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.39, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 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.0007068/0.3907, allocations: 424.9 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3907, allocations: 11.97 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.3908, allocations: 16.84 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.3912, allocations: 203.1 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.3912, allocations: 8.359 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.3913, allocations: 8.125 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.3915, allocations: 153 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3916, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.3916, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3916, allocations: 7.938 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003259/0.3919, allocations: 187.7 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.3922, allocations: 173.2 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.3927, allocations: 194.5 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3928, allocations: 56.83 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3928, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/0.3931, allocations: 136.1 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.3931, allocations: 0 / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005914/0.3936, allocations: 258.4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.3937, allocations: 81.11 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.394, allocations: 243 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.394, allocations: 33.7 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.3941, allocations: 112.1 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.3942, allocations: 47.61 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.3942, allocations: 37.81 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3944, allocations: 330.8 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.3945, allocations: 59.97 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.3947, allocations: 114.3 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.3949, allocations: 149.5 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.3949, allocations: 3.984 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003776/0.3953, allocations: 225.3 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3953, allocations: 5.719 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.3953, allocations: 4 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3953, allocations: 0 / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.3955, allocations: 28.05 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3955, allocations: 3.984 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.3956, allocations: 11.95 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.3956, allocations: 4 kB / 1.335 GB, free: 9.105 MB / 1.029 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 0.0001425/0.3957, allocations: 143.6 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.3958, allocations: 19.84 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.3963, allocations: 284.1 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3963, allocations: 4 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3963, allocations: 0 / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3963, allocations: 11.98 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.3965, allocations: 189.1 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3965, allocations: 0 / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.3967, allocations: 35.92 kB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3967, allocations: 3.938 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.3967, allocations: 11.94 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3967, allocations: 3.984 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3967, allocations: 4 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.3971, allocations: 278.4 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.3972, allocations: 23.86 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.3972, allocations: 11.94 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.3973, allocations: 4 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3973, allocations: 23.95 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.3974, allocations: 7.984 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002074/0.3976, allocations: 188.4 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3976, allocations: 0 / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003064/0.3979, allocations: 59.86 kB / 1.336 GB, free: 7.754 MB / 1.029 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.001968/0.3999, allocations: 0.5341 MB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003465/0.4002, allocations: 159.8 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4002, allocations: 4.062 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4004, allocations: 85.95 kB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.4007, allocations: 37.8 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000766/0.4014, allocations: 380.5 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.4016, allocations: 120 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.4017, allocations: 35.41 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/0.4017, allocations: 4 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of Templates: time 0.006292/0.408, allocations: 3.486 MB / 1.341 GB, free: 3.109 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.305642621126026]