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.00177/0.00177, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002764/0.002764, allocations: 214.2 kB / 22.25 MB, free: 5.129 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.965 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.762/2.762, allocations: 476.7 MB / 0.7707 GB, free: 4.277 MB / 0.6231 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="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: 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.001987/0.001987, allocations: 66.03 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3222, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1957/0.5179, allocations: 164.9 MB / 1.444 GB, free: 6.18 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.52, allocations: 0.9665 MB / 1.445 GB, free: 5.211 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.5203, allocations: 15.88 kB / 1.445 GB, free: 5.195 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.5208, allocations: 166.9 kB / 1.445 GB, free: 5.031 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.5224, allocations: 0.6731 MB / 1.446 GB, free: 4.355 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.5231, allocations: 238.8 kB / 1.446 GB, free: 4.125 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006974/0.5238, allocations: 0.5227 MB / 1.447 GB, free: 3.598 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.5241, allocations: 144.3 kB / 1.447 GB, free: 3.453 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.5246, allocations: 243.1 kB / 1.447 GB, free: 3.215 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.5248, allocations: 167.3 kB / 1.447 GB, free: 3.051 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.5249, allocations: 16 kB / 1.447 GB, free: 3.035 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.5259, allocations: 0.5961 MB / 1.448 GB, free: 2.438 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.526, allocations: 87.72 kB / 1.448 GB, free: 2.352 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.5261, allocations: 115.4 kB / 1.448 GB, free: 2.238 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000746/0.5269, allocations: 494.4 kB / 1.449 GB, free: 1.754 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5269, allocations: 0 / 1.449 GB, free: 1.754 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5269, allocations: 4 kB / 1.449 GB, free: 1.75 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.5269, allocations: 0 / 1.449 GB, free: 1.75 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.001407/0.5283, allocations: 0.5242 MB / 1.449 GB, free: 1.195 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5283, allocations: 12.03 kB / 1.449 GB, free: 1.184 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.911e-05/0.5284, allocations: 54.53 kB / 1.449 GB, free: 1.121 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/0.5286, allocations: 47.78 kB / 1.449 GB, free: 1.074 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.5291, allocations: 232.4 kB / 1.45 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.5291, allocations: 12.33 kB / 1.45 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.5292, allocations: 16 kB / 1.45 GB, free: 0.793 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.5297, allocations: 239.1 kB / 1.45 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.5297, allocations: 0 / 1.45 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.5297, allocations: 8 kB / 1.45 GB, free: 0.5469 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.5297, allocations: 12 kB / 1.45 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.5303, allocations: 259.5 kB / 1.45 GB, free: 288 kB / 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.001371/0.5317, allocations: 0.8035 MB / 1.451 GB, free: 15.41 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.532, allocations: 138.6 kB / 1.451 GB, free: 15.27 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.5322, allocations: 100.8 kB / 1.451 GB, free: 15.16 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002084/0.5324, allocations: 39.91 kB / 1.451 GB, free: 15.12 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5325, allocations: 38.5 kB / 1.451 GB, free: 15.08 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.5325, allocations: 0 / 1.451 GB, free: 15.08 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.0008369/0.5333, allocations: 296.8 kB / 1.451 GB, free: 14.79 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.5333, allocations: 55.41 kB / 1.451 GB, free: 14.72 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.5336, allocations: 245.1 kB / 1.452 GB, free: 14.47 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.5336, allocations: 33.64 kB / 1.452 GB, free: 14.43 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5337, allocations: 136.3 kB / 1.452 GB, free: 14.3 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.5338, allocations: 55.52 kB / 1.452 GB, free: 14.24 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.5338, allocations: 37.7 kB / 1.452 GB, free: 14.2 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.534, allocations: 330.8 kB / 1.452 GB, free: 13.87 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.5342, allocations: 63.95 kB / 1.452 GB, free: 13.8 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.5344, allocations: 121.8 kB / 1.452 GB, free: 13.68 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.5347, allocations: 162.5 kB / 1.453 GB, free: 13.51 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5348, allocations: 0 / 1.453 GB, free: 13.51 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004474/0.5352, allocations: 217.4 kB / 1.453 GB, free: 13.29 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5352, allocations: 7.938 kB / 1.453 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5352, allocations: 0 / 1.453 GB, free: 13.29 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.5352, allocations: 4 kB / 1.453 GB, free: 13.28 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.5354, allocations: 35.91 kB / 1.453 GB, free: 13.25 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5354, allocations: 4 kB / 1.453 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.5356, allocations: 19.88 kB / 1.453 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.5356, allocations: 4 kB / 1.453 GB, free: 13.22 MB / 1.154 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.0001436/0.5358, allocations: 145.9 kB / 1.453 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.5358, allocations: 31.73 kB / 1.453 GB, free: 13.04 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.267e-05/0.5359, allocations: 29.77 kB / 1.453 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5359, allocations: 4 kB / 1.453 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5359, allocations: 0 / 1.453 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.5359, allocations: 0 / 1.453 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.537, allocations: 0.6513 MB / 1.454 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.537, allocations: 0 / 1.454 GB, free: 12.28 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.5371, allocations: 31.98 kB / 1.454 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5371, allocations: 8.156 kB / 1.454 GB, free: 12.24 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.5372, allocations: 7.984 kB / 1.454 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5372, allocations: 7.938 kB / 1.454 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5372, allocations: 0 / 1.454 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.5377, allocations: 361.7 kB / 1.454 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.5378, allocations: 31.84 kB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.5378, allocations: 15.92 kB / 1.454 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.538, allocations: 4 kB / 1.454 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.538, allocations: 23.92 kB / 1.454 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.538, allocations: 7.984 kB / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001646/0.5382, allocations: 176.5 kB / 1.454 GB, free: 11.58 MB / 1.154 GB Notification: Performance of sort global known variables: time 6e-08/0.5382, allocations: 0 / 1.454 GB, free: 11.58 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003622/0.5386, allocations: 59.92 kB / 1.454 GB, free: 11.52 MB / 1.154 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.0009712/0.5395, allocations: 0.938 MB / 1.455 GB, free: 10.54 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.54, allocations: 165.1 kB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.54, allocations: 0 / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.5402, allocations: 91.81 kB / 1.456 GB, free: 10.29 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.5409, allocations: 125.9 kB / 1.456 GB, free: 10.17 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.5442, allocations: 2.466 MB / 1.458 GB, free: 7.574 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.5446, allocations: 0.7558 MB / 1.459 GB, free: 6.793 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.5448, allocations: 61.94 kB / 1.459 GB, free: 6.73 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5449, allocations: 63.41 kB / 1.459 GB, free: 6.668 MB / 1.154 GB Notification: Performance of SimCode: time 7.32e-07/0.5449, allocations: 4 kB / 1.459 GB, free: 6.664 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.5809, allocations: 7.103 MB / 1.466 GB, free: 15.75 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.51, allocations: 6.234 kB / 1.466 GB, free: 15.75 MB / 1.17 GB " [Timeout remaining time 288] (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: 18.19003494991921]