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.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.001896/0.001896, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.002231/0.002231, allocations: 215 kB / 20.13 MB, free: 2.949 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.549/1.549, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.79/2.79, allocations: 476.7 MB / 0.7678 GB, free: 9.41 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.LosslessPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="cs",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.001971/0.001971, allocations: 67.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9601/0.9621, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2184/1.18, allocations: 164.7 MB / 1.44 GB, free: 7.238 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002384/1.183, allocations: 0.9713 MB / 1.441 GB, free: 6.27 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003001/1.183, allocations: 19.81 kB / 1.441 GB, free: 6.25 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006757/1.184, allocations: 155 kB / 1.441 GB, free: 6.098 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/1.186, allocations: 0.6653 MB / 1.442 GB, free: 5.43 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/1.186, allocations: 226.9 kB / 1.442 GB, free: 5.211 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006942/1.187, allocations: 0.5188 MB / 1.442 GB, free: 4.691 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/1.187, allocations: 144.1 kB / 1.442 GB, free: 4.547 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000483/1.188, allocations: 247.1 kB / 1.443 GB, free: 4.305 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/1.188, allocations: 171.3 kB / 1.443 GB, free: 4.137 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/1.188, allocations: 12 kB / 1.443 GB, free: 4.125 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/1.189, allocations: 0.5845 MB / 1.443 GB, free: 3.539 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/1.189, allocations: 83.72 kB / 1.443 GB, free: 3.457 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/1.189, allocations: 115.4 kB / 1.444 GB, free: 3.344 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007575/1.19, allocations: 494.4 kB / 1.444 GB, free: 2.859 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.19, allocations: 0 / 1.444 GB, free: 2.859 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.513e-06/1.19, allocations: 4 kB / 1.444 GB, free: 2.855 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.19, allocations: 4 kB / 1.444 GB, free: 2.852 MB / 1.123 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.001464/1.192, allocations: 0.5995 MB / 1.445 GB, free: 2.203 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.192, allocations: 8.031 kB / 1.445 GB, free: 2.195 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.617e-05/1.192, allocations: 4.328 kB / 1.445 GB, free: 2.191 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/1.192, allocations: 54.55 kB / 1.445 GB, free: 2.129 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/1.192, allocations: 43.83 kB / 1.445 GB, free: 2.086 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/1.192, allocations: 303.8 kB / 1.445 GB, free: 1.75 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/1.192, allocations: 12.33 kB / 1.445 GB, free: 1.738 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/1.192, allocations: 16 kB / 1.445 GB, free: 1.723 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/1.193, allocations: 235.1 kB / 1.445 GB, free: 1.488 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.193, allocations: 0 / 1.445 GB, free: 1.488 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/1.193, allocations: 8 kB / 1.445 GB, free: 1.48 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/1.193, allocations: 16 kB / 1.445 GB, free: 1.465 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006173/1.194, allocations: 255.5 kB / 1.446 GB, free: 1.215 MB / 1.123 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.001314/1.195, allocations: 0.8318 MB / 1.446 GB, free: 316 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/1.195, allocations: 134.5 kB / 1.447 GB, free: 172 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.195, allocations: 104.9 kB / 1.447 GB, free: 64 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/1.196, allocations: 198.2 kB / 1.447 GB, free: 15.83 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.196, allocations: 34.5 kB / 1.447 GB, free: 15.79 MB / 1.139 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/1.196, allocations: 0 / 1.447 GB, free: 15.79 MB / 1.139 GB Notification: Performance of matching and sorting (n=14): time 0.0008864/1.197, allocations: 305.3 kB / 1.447 GB, free: 15.48 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.197, allocations: 59.41 kB / 1.447 GB, free: 15.41 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/1.197, allocations: 241 kB / 1.447 GB, free: 15.17 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/1.197, allocations: 33.64 kB / 1.447 GB, free: 15.13 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/1.197, allocations: 132.3 kB / 1.448 GB, free: 15 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/1.197, allocations: 51.53 kB / 1.448 GB, free: 14.95 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/1.197, allocations: 37.7 kB / 1.448 GB, free: 14.91 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.197, allocations: 334.8 kB / 1.448 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.198, allocations: 71.94 kB / 1.448 GB, free: 14.5 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/1.198, allocations: 106.5 kB / 1.448 GB, free: 14.39 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/1.198, allocations: 168.3 kB / 1.448 GB, free: 14.21 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.198, allocations: 0 / 1.448 GB, free: 14.21 MB / 1.139 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004897/1.199, allocations: 224.7 kB / 1.449 GB, free: 13.99 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.199, allocations: 4 kB / 1.449 GB, free: 13.99 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.199, allocations: 3.938 kB / 1.449 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.199, allocations: 4 kB / 1.449 GB, free: 13.98 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/1.199, allocations: 31.91 kB / 1.449 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/1.199, allocations: 4 kB / 1.449 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/1.199, allocations: 23.88 kB / 1.449 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/1.199, allocations: 8.062 kB / 1.449 GB, free: 13.91 MB / 1.139 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.0001459/1.199, allocations: 144 kB / 1.449 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.424e-05/1.199, allocations: 27.78 kB / 1.449 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.771e-05/1.199, allocations: 29.84 kB / 1.449 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.199, allocations: 0 / 1.449 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.199, allocations: 4 kB / 1.449 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.199, allocations: 3.984 kB / 1.449 GB, free: 13.7 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/1.201, allocations: 0.6756 MB / 1.449 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.201, allocations: 4.219 kB / 1.449 GB, free: 12.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/1.201, allocations: 31.98 kB / 1.449 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/1.201, allocations: 4 kB / 1.449 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/1.201, allocations: 4 kB / 1.45 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/1.201, allocations: 11.92 kB / 1.45 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.201, allocations: 0 / 1.45 GB, free: 12.89 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/1.201, allocations: 361.2 kB / 1.45 GB, free: 12.5 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.201, allocations: 109 kB / 1.45 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/1.201, allocations: 8 kB / 1.45 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/1.202, allocations: 11.98 kB / 1.45 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/1.202, allocations: 19.92 kB / 1.45 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/1.202, allocations: 4 kB / 1.45 GB, free: 12.34 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001771/1.202, allocations: 180.5 kB / 1.45 GB, free: 12.16 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.202, allocations: 0 / 1.45 GB, free: 12.16 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003563/1.202, allocations: 55.94 kB / 1.45 GB, free: 12.11 MB / 1.139 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.001031/1.203, allocations: 0.9365 MB / 1.451 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004733/1.204, allocations: 175.7 kB / 1.451 GB, free: 10.95 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.204, allocations: 4 kB / 1.451 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/1.204, allocations: 91.81 kB / 1.451 GB, free: 10.85 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/1.205, allocations: 133 kB / 1.452 GB, free: 10.73 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/1.208, allocations: 2.461 MB / 1.454 GB, free: 8.133 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/1.209, allocations: 0.7519 MB / 1.455 GB, free: 7.355 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002295/1.209, allocations: 57.91 kB / 1.455 GB, free: 7.301 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/1.209, allocations: 71.41 kB / 1.455 GB, free: 7.23 MB / 1.139 GB Notification: Performance of SimCode: time 5.61e-07/1.209, allocations: 0 / 1.455 GB, free: 7.23 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/1.236, allocations: 6.956 MB / 1.462 GB, free: 464 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.541/9.777, allocations: 11.88 kB / 1.462 GB, free: 456 kB / 1.139 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 16.16615660703974]