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.001697/0.001697, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002127/0.002127, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.568/1.568, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.728/2.728, allocations: 476.7 MB / 0.7715 GB, free: 4.262 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.00201/0.00201, allocations: 68.47 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3149, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1929/0.5078, allocations: 164.9 MB / 1.445 GB, free: 6.137 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.5098, allocations: 0.9806 MB / 1.446 GB, free: 5.156 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.5101, allocations: 11.88 kB / 1.446 GB, free: 5.145 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005758/0.5106, allocations: 166.9 kB / 1.446 GB, free: 4.98 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.5122, allocations: 0.6731 MB / 1.447 GB, free: 4.305 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.5129, allocations: 231.4 kB / 1.447 GB, free: 4.082 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0007051/0.5136, allocations: 0.5305 MB / 1.448 GB, free: 3.547 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003113/0.5139, allocations: 140.3 kB / 1.448 GB, free: 3.406 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.5143, allocations: 243.1 kB / 1.448 GB, free: 3.168 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.5146, allocations: 175.3 kB / 1.448 GB, free: 2.996 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.5146, allocations: 12 kB / 1.448 GB, free: 2.984 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.5157, allocations: 0.5922 MB / 1.449 GB, free: 2.391 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.5158, allocations: 87.72 kB / 1.449 GB, free: 2.305 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.5159, allocations: 119.4 kB / 1.449 GB, free: 2.188 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.000786/0.5167, allocations: 490.4 kB / 1.449 GB, free: 1.707 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5167, allocations: 0 / 1.449 GB, free: 1.707 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5167, allocations: 0 / 1.449 GB, free: 1.707 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.5167, allocations: 4 kB / 1.449 GB, free: 1.703 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.001523/0.5183, allocations: 0.5281 MB / 1.45 GB, free: 1.145 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5183, allocations: 8.031 kB / 1.45 GB, free: 1.137 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.171e-05/0.5183, allocations: 4.328 kB / 1.45 GB, free: 1.133 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.5184, allocations: 58.55 kB / 1.45 GB, free: 1.066 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.5187, allocations: 47.78 kB / 1.45 GB, free: 1.02 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.5192, allocations: 228.4 kB / 1.45 GB, free: 0.7695 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.5192, allocations: 12.33 kB / 1.45 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.5193, allocations: 16 kB / 1.45 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.5198, allocations: 243.1 kB / 1.451 GB, free: 0.5 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.5198, allocations: 3.938 kB / 1.451 GB, free: 0.4961 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.5198, allocations: 12 kB / 1.451 GB, free: 496 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.5198, allocations: 8 kB / 1.451 GB, free: 488 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.5204, allocations: 251.6 kB / 1.451 GB, free: 236 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.001305/0.5217, allocations: 0.8074 MB / 1.452 GB, free: 15.36 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.522, allocations: 134.5 kB / 1.452 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.5222, allocations: 108.9 kB / 1.452 GB, free: 15.11 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.5224, allocations: 31.97 kB / 1.452 GB, free: 15.07 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.5225, allocations: 42.44 kB / 1.452 GB, free: 15.02 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.5225, allocations: 3.938 kB / 1.452 GB, free: 15.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.0008659/0.5233, allocations: 298.6 kB / 1.452 GB, free: 14.72 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.5234, allocations: 51.41 kB / 1.452 GB, free: 14.66 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.5236, allocations: 245.1 kB / 1.452 GB, free: 14.41 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.5237, allocations: 29.7 kB / 1.453 GB, free: 14.38 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.5238, allocations: 140.3 kB / 1.453 GB, free: 14.24 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.5238, allocations: 55.53 kB / 1.453 GB, free: 14.18 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.5239, allocations: 33.7 kB / 1.453 GB, free: 14.14 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.524, allocations: 330.8 kB / 1.453 GB, free: 13.81 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.5242, allocations: 67.94 kB / 1.453 GB, free: 13.75 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5244, allocations: 106.4 kB / 1.453 GB, free: 13.63 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.5248, allocations: 171.1 kB / 1.453 GB, free: 13.46 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5248, allocations: 4 kB / 1.453 GB, free: 13.45 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004664/0.5253, allocations: 214.3 kB / 1.454 GB, free: 13.24 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.5253, allocations: 4 kB / 1.454 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5253, allocations: 0 / 1.454 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5253, allocations: 4 kB / 1.454 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.5255, allocations: 35.98 kB / 1.454 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5255, allocations: 4 kB / 1.454 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.5257, allocations: 19.88 kB / 1.454 GB, free: 13.17 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.5257, allocations: 11.98 kB / 1.454 GB, free: 13.16 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.0001493/0.5259, allocations: 138.7 kB / 1.454 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.5259, allocations: 23.8 kB / 1.454 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.053e-05/0.526, allocations: 33.77 kB / 1.454 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.526, allocations: 0 / 1.454 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.526, allocations: 7.938 kB / 1.454 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.526, allocations: 0 / 1.454 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.5271, allocations: 0.6591 MB / 1.454 GB, free: 12.22 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5271, allocations: 4 kB / 1.454 GB, free: 12.22 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.5273, allocations: 23.98 kB / 1.455 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.5273, allocations: 4 kB / 1.455 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.5273, allocations: 7.984 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-06/0.5273, allocations: 3.938 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5273, allocations: 4 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.5278, allocations: 362.4 kB / 1.455 GB, free: 11.79 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/0.5279, allocations: 39.84 kB / 1.455 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.528, allocations: 4 kB / 1.455 GB, free: 11.74 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5281, allocations: 11.92 kB / 1.455 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.5282, allocations: 19.92 kB / 1.455 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.5282, allocations: 7.984 kB / 1.455 GB, free: 11.7 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001696/0.5284, allocations: 176.5 kB / 1.455 GB, free: 11.53 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5284, allocations: 0 / 1.455 GB, free: 11.53 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003624/0.5287, allocations: 67.86 kB / 1.455 GB, free: 11.46 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.0009907/0.5297, allocations: 0.9393 MB / 1.456 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.5302, allocations: 167.2 kB / 1.456 GB, free: 10.32 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5302, allocations: 0 / 1.456 GB, free: 10.32 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.5304, allocations: 96.19 kB / 1.456 GB, free: 10.22 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/0.5312, allocations: 116.7 kB / 1.456 GB, free: 10.11 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.5344, allocations: 2.466 MB / 1.459 GB, free: 7.512 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.5348, allocations: 0.748 MB / 1.46 GB, free: 6.738 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.5349, allocations: 57.91 kB / 1.46 GB, free: 6.68 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.5351, allocations: 67.41 kB / 1.46 GB, free: 6.613 MB / 1.154 GB Notification: Performance of SimCode: time 6.21e-07/0.5351, allocations: 4 kB / 1.46 GB, free: 6.609 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.5633, allocations: 7.136 MB / 1.467 GB, free: 15.69 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.91, allocations: 10.28 kB / 1.467 GB, free: 15.68 MB / 1.17 GB " [Timeout remaining time 287] (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.610715421033092]