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.001315/0.001315, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001563/0.001563, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.807/2.807, allocations: 476.8 MB / 0.7715 GB, free: 3.926 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="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.001954/0.001954, allocations: 63.69 kB / 1.118 GB, free: 39.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3239, allocations: 170 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.181/0.5049, allocations: 142.1 MB / 1.423 GB, free: 12.17 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.507, allocations: 0.9276 MB / 1.424 GB, free: 11.24 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.5073, allocations: 19.81 kB / 1.424 GB, free: 11.22 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006748/0.508, allocations: 151 kB / 1.424 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.5099, allocations: 0.6575 MB / 1.425 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000671/0.5105, allocations: 231.7 kB / 1.425 GB, free: 10.19 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007524/0.5113, allocations: 0.5266 MB / 1.425 GB, free: 9.656 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.5116, allocations: 136.4 kB / 1.425 GB, free: 9.52 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.5121, allocations: 243.1 kB / 1.426 GB, free: 9.281 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.5123, allocations: 175.2 kB / 1.426 GB, free: 9.109 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.5124, allocations: 16 kB / 1.426 GB, free: 9.094 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.5131, allocations: 470.7 kB / 1.426 GB, free: 8.633 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.5133, allocations: 79.78 kB / 1.426 GB, free: 8.555 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.5134, allocations: 103.5 kB / 1.426 GB, free: 8.453 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.5141, allocations: 462.5 kB / 1.427 GB, free: 8 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.5141, allocations: 4 kB / 1.427 GB, free: 7.996 MB / 1.123 GB Notification: Performance of FrontEnd: time 5.811e-06/0.5141, allocations: 3.984 kB / 1.427 GB, free: 7.992 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.5141, allocations: 4 kB / 1.427 GB, free: 7.988 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.001434/0.5155, allocations: 0.5281 MB / 1.427 GB, free: 7.43 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5156, allocations: 12.03 kB / 1.427 GB, free: 7.418 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.059e-05/0.5156, allocations: 8.328 kB / 1.427 GB, free: 7.41 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.5156, allocations: 54.48 kB / 1.427 GB, free: 7.348 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.5159, allocations: 47.83 kB / 1.428 GB, free: 7.301 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.5163, allocations: 232.4 kB / 1.428 GB, free: 7.047 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5164, allocations: 8.328 kB / 1.428 GB, free: 7.039 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.5164, allocations: 20 kB / 1.428 GB, free: 7.02 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.5169, allocations: 243.1 kB / 1.428 GB, free: 6.777 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.5169, allocations: 0 / 1.428 GB, free: 6.777 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.517, allocations: 4 kB / 1.428 GB, free: 6.773 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.517, allocations: 8 kB / 1.428 GB, free: 6.766 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.5176, allocations: 259.5 kB / 1.428 GB, free: 6.512 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.001256/0.5188, allocations: 0.7087 MB / 1.429 GB, free: 5.754 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.5192, allocations: 130.5 kB / 1.429 GB, free: 5.617 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.5194, allocations: 108.9 kB / 1.429 GB, free: 5.508 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000229/0.5196, allocations: 35.97 kB / 1.429 GB, free: 5.473 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.5196, allocations: 34.5 kB / 1.429 GB, free: 5.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.5196, allocations: 0 / 1.429 GB, free: 5.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=14): time 0.000862/0.5205, allocations: 309.3 kB / 1.43 GB, free: 5.121 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.5205, allocations: 51.41 kB / 1.43 GB, free: 5.059 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.5208, allocations: 241.1 kB / 1.43 GB, free: 4.816 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.5208, allocations: 29.7 kB / 1.43 GB, free: 4.781 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5209, allocations: 136.3 kB / 1.43 GB, free: 4.645 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.521, allocations: 51.53 kB / 1.43 GB, free: 4.594 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.5211, allocations: 37.7 kB / 1.43 GB, free: 4.551 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5212, allocations: 326.8 kB / 1.43 GB, free: 4.223 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.5214, allocations: 71.94 kB / 1.43 GB, free: 4.152 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.5217, allocations: 179.6 kB / 1.431 GB, free: 3.949 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/0.522, allocations: 166.4 kB / 1.431 GB, free: 3.777 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5221, allocations: 4 kB / 1.431 GB, free: 3.773 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004764/0.5225, allocations: 219.3 kB / 1.431 GB, free: 3.555 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.5225, allocations: 10.25 kB / 1.431 GB, free: 3.547 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5225, allocations: 0 / 1.431 GB, free: 3.547 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.5226, allocations: 4 kB / 1.431 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.5228, allocations: 27.92 kB / 1.431 GB, free: 3.516 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.5228, allocations: 4 kB / 1.431 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.5229, allocations: 23.88 kB / 1.431 GB, free: 3.488 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.523, allocations: 7.984 kB / 1.431 GB, free: 3.48 MB / 1.123 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.0001478/0.5231, allocations: 142.9 kB / 1.431 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.5232, allocations: 23.8 kB / 1.431 GB, free: 3.309 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.737e-05/0.5232, allocations: 37.7 kB / 1.431 GB, free: 3.273 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5232, allocations: 0 / 1.431 GB, free: 3.273 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5233, allocations: 4 kB / 1.431 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5233, allocations: 0 / 1.431 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.5244, allocations: 0.6397 MB / 1.432 GB, free: 2.559 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5244, allocations: 4.031 kB / 1.432 GB, free: 2.555 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.5245, allocations: 31.97 kB / 1.432 GB, free: 2.523 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.5246, allocations: 8 kB / 1.432 GB, free: 2.516 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5246, allocations: 4 kB / 1.432 GB, free: 2.512 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.5246, allocations: 4 kB / 1.432 GB, free: 2.508 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5246, allocations: 7.938 kB / 1.432 GB, free: 2.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.5251, allocations: 349.2 kB / 1.432 GB, free: 2.121 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.5252, allocations: 35.89 kB / 1.432 GB, free: 2.086 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.5253, allocations: 7.984 kB / 1.432 GB, free: 2.078 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.5254, allocations: 12 kB / 1.432 GB, free: 2.066 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.5255, allocations: 19.89 kB / 1.432 GB, free: 2.047 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.5255, allocations: 4 kB / 1.432 GB, free: 2.043 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002055/0.5257, allocations: 180.5 kB / 1.433 GB, free: 1.867 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.5257, allocations: 0 / 1.433 GB, free: 1.867 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000368/0.5261, allocations: 63.89 kB / 1.433 GB, free: 1.805 MB / 1.123 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.001059/0.5271, allocations: 0.9255 MB / 1.433 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004771/0.5276, allocations: 173.1 kB / 1.434 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5276, allocations: 0 / 1.434 GB, free: 0.6602 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.5278, allocations: 95.8 kB / 1.434 GB, free: 0.5664 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.5286, allocations: 128.2 kB / 1.434 GB, free: 456 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.5321, allocations: 2.467 MB / 1.436 GB, free: 13.85 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.5322, allocations: 141.5 kB / 1.436 GB, free: 13.69 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.5324, allocations: 61.91 kB / 1.436 GB, free: 13.63 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.5326, allocations: 63.41 kB / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/0.5326, allocations: 7.938 kB / 1.437 GB, free: 13.56 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.5643, allocations: 7.511 MB / 1.444 GB, free: 6.32 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.87, allocations: 0 / 1.444 GB, free: 6.32 MB / 1.139 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.701512622996233]