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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 115.8 kB / 17.93 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 192.4 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7634 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.89 kB / 1.108 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7268, allocations: 168.7 MB / 1.272 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1805/0.9073, allocations: 162 MB / 1.431 GB, free: 1.789 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.9092, allocations: 0.9669 MB / 1.431 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.9094, allocations: 7.938 kB / 1.431 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.9099, allocations: 163 kB / 1.432 GB, free: 0.6523 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.9115, allocations: 0.6691 MB / 1.432 GB, free: 15.98 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.9121, allocations: 226.8 kB / 1.432 GB, free: 15.76 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.9129, allocations: 0.5226 MB / 1.433 GB, free: 15.23 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.9133, allocations: 144.1 kB / 1.433 GB, free: 15.1 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000514/0.9138, allocations: 235.1 kB / 1.433 GB, free: 14.87 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.9141, allocations: 167.3 kB / 1.434 GB, free: 14.7 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.9141, allocations: 16 kB / 1.434 GB, free: 14.69 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.9151, allocations: 0.5844 MB / 1.434 GB, free: 14.1 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.9152, allocations: 83.78 kB / 1.434 GB, free: 14.02 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.9154, allocations: 119.3 kB / 1.434 GB, free: 13.9 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008378/0.9162, allocations: 490.4 kB / 1.435 GB, free: 13.42 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.9162, allocations: 0 / 1.435 GB, free: 13.42 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.132e-06/0.9162, allocations: 3.938 kB / 1.435 GB, free: 13.42 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.9162, allocations: 0 / 1.435 GB, free: 13.42 MB / 1.139 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.001543/0.9178, allocations: 0.6112 MB / 1.435 GB, free: 12.76 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.9178, allocations: 8.031 kB / 1.435 GB, free: 12.75 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.9179, allocations: 58.55 kB / 1.435 GB, free: 12.68 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002711/0.9182, allocations: 47.83 kB / 1.435 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.9186, allocations: 282.5 kB / 1.436 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.9186, allocations: 20.31 kB / 1.436 GB, free: 12.3 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.9187, allocations: 16 kB / 1.436 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.9192, allocations: 243.1 kB / 1.436 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.9192, allocations: 0 / 1.436 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.9193, allocations: 7.984 kB / 1.436 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.9193, allocations: 11.78 kB / 1.436 GB, free: 12.02 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.9199, allocations: 255.7 kB / 1.436 GB, free: 11.77 MB / 1.139 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.001329/0.9212, allocations: 0.8362 MB / 1.437 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.9215, allocations: 138.5 kB / 1.437 GB, free: 10.72 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.9217, allocations: 104.9 kB / 1.437 GB, free: 10.61 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002884/0.922, allocations: 186.2 kB / 1.437 GB, free: 10.39 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.9221, allocations: 42.5 kB / 1.438 GB, free: 10.34 MB / 1.139 GB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.9221, allocations: 0 / 1.438 GB, free: 10.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=14): time 0.0008389/0.9229, allocations: 301.3 kB / 1.438 GB, free: 10.04 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.9229, allocations: 55.39 kB / 1.438 GB, free: 9.977 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.9232, allocations: 241 kB / 1.438 GB, free: 9.734 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.9232, allocations: 29.7 kB / 1.438 GB, free: 9.699 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.872e-05/0.9233, allocations: 136.3 kB / 1.438 GB, free: 9.562 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.9234, allocations: 47.58 kB / 1.438 GB, free: 9.516 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.088e-05/0.9234, allocations: 41.66 kB / 1.438 GB, free: 9.469 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.9236, allocations: 334.8 kB / 1.439 GB, free: 9.133 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.9238, allocations: 71.94 kB / 1.439 GB, free: 9.062 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.924, allocations: 96.77 kB / 1.439 GB, free: 8.961 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.9244, allocations: 175.8 kB / 1.439 GB, free: 8.781 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9244, allocations: 0 / 1.439 GB, free: 8.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004724/0.9248, allocations: 213.4 kB / 1.439 GB, free: 8.566 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.9249, allocations: 7.938 kB / 1.439 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.9249, allocations: 0 / 1.439 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9249, allocations: 0 / 1.439 GB, free: 8.559 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.9251, allocations: 31.97 kB / 1.439 GB, free: 8.527 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.9251, allocations: 8 kB / 1.439 GB, free: 8.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.9252, allocations: 23.83 kB / 1.439 GB, free: 8.496 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.9252, allocations: 12 kB / 1.439 GB, free: 8.484 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.0001417/0.9254, allocations: 138.7 kB / 1.439 GB, free: 8.34 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.9254, allocations: 23.8 kB / 1.439 GB, free: 8.316 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.9255, allocations: 33.83 kB / 1.439 GB, free: 8.281 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.9255, allocations: 0 / 1.439 GB, free: 8.281 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9255, allocations: 0 / 1.439 GB, free: 8.281 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9255, allocations: 7.984 kB / 1.439 GB, free: 8.273 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.9266, allocations: 0.6796 MB / 1.44 GB, free: 7.516 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.9266, allocations: 4 kB / 1.44 GB, free: 7.512 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.9268, allocations: 27.97 kB / 1.44 GB, free: 7.484 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.9268, allocations: 4 kB / 1.44 GB, free: 7.48 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.9268, allocations: 12.05 kB / 1.44 GB, free: 7.469 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.9268, allocations: 3.938 kB / 1.44 GB, free: 7.465 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.9268, allocations: 15.91 kB / 1.44 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.9274, allocations: 352.1 kB / 1.441 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.9275, allocations: 121 kB / 1.441 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.9275, allocations: 0 / 1.441 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.9277, allocations: 11.98 kB / 1.441 GB, free: 6.922 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.9278, allocations: 19.86 kB / 1.441 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.9278, allocations: 8 kB / 1.441 GB, free: 6.895 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000175/0.9279, allocations: 180.5 kB / 1.441 GB, free: 6.715 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.9279, allocations: 0 / 1.441 GB, free: 6.715 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003482/0.9283, allocations: 63.89 kB / 1.441 GB, free: 6.652 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.001062/0.9294, allocations: 0.9347 MB / 1.442 GB, free: 5.676 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000475/0.9298, allocations: 174.2 kB / 1.442 GB, free: 5.508 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.9298, allocations: 4.125 kB / 1.442 GB, free: 5.504 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.93, allocations: 95.81 kB / 1.442 GB, free: 5.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.9308, allocations: 116.8 kB / 1.442 GB, free: 5.297 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.9341, allocations: 2.475 MB / 1.445 GB, free: 2.684 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.9345, allocations: 0.7518 MB / 1.445 GB, free: 1.906 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.9347, allocations: 65.89 kB / 1.445 GB, free: 1.844 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.9348, allocations: 67.36 kB / 1.445 GB, free: 1.777 MB / 1.139 GB Notification: Performance of SimCode: time 3.61e-07/0.9348, allocations: 0 / 1.445 GB, free: 1.777 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.9657, allocations: 6.975 MB / 1.452 GB, free: 10.97 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.951, allocations: 3.938 kB / 1.452 GB, free: 10.97 MB / 1.154 GB " [Timeout remaining time 291] (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_2/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: 15.002680196077563]