Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001161, allocations: 193.9 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.456/2.456, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 65.19 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2332, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1561/0.3893, allocations: 161.3 MB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3907, allocations: 0.9635 MB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3909, allocations: 7.938 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.3913, allocations: 159 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.3924, allocations: 0.6418 MB / 1.223 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.3929, allocations: 219.4 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.3934, allocations: 0.5149 MB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.3937, allocations: 176.2 kB / 1.224 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.394, allocations: 239.1 kB / 1.224 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.3942, allocations: 159.3 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.3943, allocations: 16 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.395, allocations: 0.5339 MB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.3951, allocations: 83.72 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.3952, allocations: 111.4 kB / 1.225 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005876/0.3958, allocations: 486.7 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3959, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3959, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3959, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001255/0.3971, allocations: 0.6039 MB / 1.226 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3972, allocations: 12.02 kB / 1.226 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.3972, allocations: 46.55 kB / 1.226 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.3975, allocations: 55.62 kB / 1.226 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.3978, allocations: 270.4 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3978, allocations: 16.33 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.3978, allocations: 16 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.3983, allocations: 239.1 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3983, allocations: 4 kB / 1.227 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3983, allocations: 8 kB / 1.227 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3983, allocations: 8 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.3989, allocations: 251.8 kB / 1.227 GB, free: 6.375 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.4, allocations: 0.8392 MB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.4003, allocations: 146.4 kB / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.4006, allocations: 116.8 kB / 1.228 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.4008, allocations: 186.2 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.4009, allocations: 42.5 kB / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.4009, allocations: 0 / 1.229 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0007687/0.4016, allocations: 302.4 kB / 1.229 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.4017, allocations: 51.41 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.4019, allocations: 245 kB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4019, allocations: 25.7 kB / 1.229 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.751e-05/0.402, allocations: 140.2 kB / 1.229 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4021, allocations: 51.3 kB / 1.229 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-05/0.4021, allocations: 33.7 kB / 1.229 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4023, allocations: 326.8 kB / 1.23 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.4024, allocations: 71.94 kB / 1.23 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.4026, allocations: 103.8 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.403, allocations: 167.7 kB / 1.23 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.403, allocations: 4 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004333/0.4035, allocations: 218.5 kB / 1.23 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.4035, allocations: 9.344 kB / 1.23 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4035, allocations: 0 / 1.23 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.4035, allocations: 7.938 kB / 1.23 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4037, allocations: 23.98 kB / 1.23 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4037, allocations: 4 kB / 1.23 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.4038, allocations: 27.73 kB / 1.23 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4039, allocations: 7.984 kB / 1.23 GB, free: 3.07 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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.000126/0.404, allocations: 154.3 kB / 1.23 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.404, allocations: 19.75 kB / 1.23 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.329e-05/0.4041, allocations: 29.83 kB / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4041, allocations: 0 / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4041, allocations: 0 / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4041, allocations: 0 / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.4051, allocations: 0.6756 MB / 1.231 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.4051, allocations: 8 kB / 1.231 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.4053, allocations: 27.92 kB / 1.231 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4053, allocations: 7.984 kB / 1.231 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4053, allocations: 8.219 kB / 1.231 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4053, allocations: 4 kB / 1.231 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4053, allocations: 4 kB / 1.231 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004687/0.4058, allocations: 345.1 kB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4059, allocations: 124.7 kB / 1.232 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.406, allocations: 4 kB / 1.232 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.4061, allocations: 11.94 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.4062, allocations: 19.86 kB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.4062, allocations: 16.03 kB / 1.232 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001482/0.4063, allocations: 172.5 kB / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4063, allocations: 0 / 1.232 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003011/0.4067, allocations: 63.91 kB / 1.232 GB, free: 1.254 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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.06638/0.473, allocations: 0.9313 MB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005007/0.4735, allocations: 183.7 kB / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4736, allocations: 0 / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.4738, allocations: 99.81 kB / 1.233 GB, free: 4 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.4745, allocations: 118.2 kB / 1.233 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.4772, allocations: 2.456 MB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.4775, allocations: 0.7558 MB / 1.236 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.4777, allocations: 65.89 kB / 1.236 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.4778, allocations: 63.41 kB / 1.236 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.4778, allocations: 0 / 1.236 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.013/9.491, allocations: 6.857 MB / 1.243 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.688/19.18, allocations: 19.17 kB / 1.243 GB, free: 5.676 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:m_flow.duration,m_flow.height,m_flow.offset,m_flow.startTime,m_flow.y,res.allowFlowReversal,res.dp,res.from_dp,res.m_flow,res.m_flow_nominal,res.m_flow_small,res.port_a.Xi_outflow[1],res.port_a.h_outflow,res.port_a.m_flow,res.port_a.p,res.port_b.Xi_outflow[1],res.port_b.h_outflow,res.port_b.m_flow,res.port_b.p,res.show_T,res.sta_a.T,res.sta_a.X[1],res.sta_a.X[2],res.sta_a.p,res.sta_b.T,res.sta_b.X[1],res.sta_b.X[2],res.sta_b.p,sin.T,sin.X[1],sin.X[2],sin.nPorts,sin.p,sin.ports[1].Xi_outflow[1],sin.ports[1].h_outflow,sin.ports[1].m_flow,sin.ports[1].p,sin.use_C_in,sin.use_T_in,sin.use_X_in,sin.use_Xi_in,sin.use_p_in,sin.verifyInputs,sou.T,sou.X[1],sou.X[2],sou.m_flow,sou.m_flow_in,sou.nPorts,sou.ports[1].Xi_outflow[1],sou.ports[1].h_outflow,sou.ports[1].m_flow,sou.ports[1].p,sou.use_C_in,sou.use_T_in,sou.use_X_in,sou.use_Xi_in,sou.use_m_flow_in,sou.verifyInputs,time