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.001344/0.001344, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001577/0.001577, allocations: 217 kB / 22.25 MB, free: 5.082 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.012 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.23/3.23, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [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.002062/0.002062, allocations: 60.5 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3991, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003754/0.4029, allocations: 1.689 MB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003031/0.4059, allocations: 1.743 MB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.406, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005305/0.4065, allocations: 63.69 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.407, allocations: 99.53 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.4072, allocations: 79.72 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.4076, allocations: 179.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.554e-05/0.4076, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.4078, allocations: 71.77 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.408, allocations: 75.73 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.408, allocations: 8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.4083, allocations: 119.9 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.4084, allocations: 47.83 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.4085, allocations: 67.55 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.4089, allocations: 239.4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4089, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4089, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.4089, allocations: 0 / 1.33 GB, free: 13.43 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.0007623/0.4097, allocations: 428.9 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4097, allocations: 8.031 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.4098, allocations: 46.67 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.4098, allocations: 16.84 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.4103, allocations: 199.2 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4103, allocations: 4.375 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.4104, allocations: 7.938 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.4106, allocations: 115.3 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4106, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4106, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4106, allocations: 3.938 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.4109, allocations: 139.9 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.4112, allocations: 212.6 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.4116, allocations: 166.5 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.4117, allocations: 48.83 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.4117, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.412, allocations: 125.3 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.412, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005043/0.4125, allocations: 217.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.4126, allocations: 85.09 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.4128, allocations: 222.9 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.4128, allocations: 33.81 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.4129, allocations: 112.1 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.413, allocations: 43.69 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.413, allocations: 37.7 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4132, allocations: 330.8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.4133, allocations: 51.91 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4134, allocations: 70.55 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.4136, allocations: 123.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4136, allocations: 11.97 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003532/0.414, allocations: 193.5 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.414, allocations: 5.719 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.414, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.414, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4142, allocations: 27.98 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4142, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.4142, allocations: 11.94 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4142, allocations: 4 kB / 1.333 GB, free: 10.15 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.000142/0.4144, allocations: 149.7 kB / 1.333 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.4144, allocations: 19.86 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.4149, allocations: 219.9 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4149, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4149, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4149, allocations: 0 / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.4151, allocations: 220.5 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4151, allocations: 3.938 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.4152, allocations: 19.98 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4152, allocations: 4 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.4152, allocations: 8 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4152, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4152, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.4156, allocations: 212 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.4156, allocations: 15.84 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.4156, allocations: 7.984 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.071e-05/0.4157, allocations: 7.938 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.4157, allocations: 19.92 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.4158, allocations: 4 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001737/0.4159, allocations: 172.2 kB / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4159, allocations: 0 / 1.334 GB, free: 9.008 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002874/0.4162, allocations: 55.86 kB / 1.334 GB, free: 8.953 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 (13): * Single equations (assignments): 11 * 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.002436/0.4187, allocations: 1.158 MB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.419, allocations: 113.9 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.419, allocations: 0 / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.4191, allocations: 63.91 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.4194, allocations: 35.25 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.4219, allocations: 1.981 MB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.4222, allocations: 0.7241 MB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.4223, allocations: 57.56 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4225, allocations: 59.41 kB / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.4225, allocations: 0 / 1.338 GB, free: 4.824 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03561/0.4581, allocations: 5.393 MB / 1.344 GB, free: 15.51 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.02, allocations: 0.9375 kB / 1.344 GB, free: 15.51 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 420.0] 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: 18.920771681005135]