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.0008338/0.0008338, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007843/0.0007843, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.9382/0.9382, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.707/1.707, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.746e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.6166/0.6166, allocations: 142.1 MB / 1.089 GB, free: 39.29 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.618, allocations: 0.9396 MB / 1.09 GB, free: 39.17 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001628/0.6181, allocations: 16.38 kB / 1.09 GB, free: 39.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.6186, allocations: 160.1 kB / 1.09 GB, free: 39.12 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009576/0.6195, allocations: 0.6581 MB / 1.091 GB, free: 39.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.6199, allocations: 244.7 kB / 1.091 GB, free: 39.03 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.6203, allocations: 0.5258 MB / 1.092 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.6206, allocations: 129.8 kB / 1.092 GB, free: 39.02 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003655/0.6209, allocations: 306.4 kB / 1.092 GB, free: 39 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.6211, allocations: 145.3 kB / 1.092 GB, free: 39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.6211, allocations: 13.69 kB / 1.092 GB, free: 39 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.6216, allocations: 472.5 kB / 1.093 GB, free: 38.99 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.6217, allocations: 84.83 kB / 1.093 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/0.6217, allocations: 80.23 kB / 1.093 GB, free: 38.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.6222, allocations: 0.4924 MB / 1.093 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6222, allocations: 0 / 1.093 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6222, allocations: 0 / 1.093 GB, free: 38.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.6222, allocations: 0 / 1.093 GB, free: 38.91 MB / 0.9948 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.0009539/0.6232, allocations: 0.5372 MB / 1.094 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.6232, allocations: 8.562 kB / 1.094 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.6233, allocations: 52.84 kB / 1.094 GB, free: 38.52 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.6234, allocations: 50.91 kB / 1.094 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.6237, allocations: 229.4 kB / 1.094 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.6237, allocations: 19.83 kB / 1.094 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.6238, allocations: 15.16 kB / 1.094 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.6241, allocations: 243 kB / 1.095 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6241, allocations: 0 / 1.095 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.6241, allocations: 13.06 kB / 1.095 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.6241, allocations: 8.625 kB / 1.095 GB, free: 38.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.6244, allocations: 259.2 kB / 1.095 GB, free: 38.29 MB / 0.9948 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.0007887/0.6252, allocations: 0.6851 MB / 1.095 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.6254, allocations: 136 kB / 1.096 GB, free: 37.92 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.6256, allocations: 101.1 kB / 1.096 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.6257, allocations: 34.81 kB / 1.096 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.6257, allocations: 36.61 kB / 1.096 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.6257, allocations: 0 / 1.096 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14): time 0.0004894/0.6262, allocations: 300.3 kB / 1.096 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.6262, allocations: 57.97 kB / 1.096 GB, free: 37.67 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.6264, allocations: 249.7 kB / 1.096 GB, free: 37.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.6264, allocations: 25.7 kB / 1.096 GB, free: 37.49 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.6264, allocations: 136 kB / 1.096 GB, free: 37.37 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.6264, allocations: 49.66 kB / 1.097 GB, free: 37.33 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.6265, allocations: 38.69 kB / 1.097 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.6265, allocations: 330.9 kB / 1.097 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.6266, allocations: 67.09 kB / 1.097 GB, free: 36.96 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.6267, allocations: 182.8 kB / 1.097 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.6269, allocations: 166.2 kB / 1.097 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6269, allocations: 2.812 kB / 1.097 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002388/0.6272, allocations: 222.4 kB / 1.098 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6272, allocations: 5.312 kB / 1.098 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6272, allocations: 2.438 kB / 1.098 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.6272, allocations: 0 / 1.098 GB, free: 36.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.6273, allocations: 42.72 kB / 1.098 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.6273, allocations: 1.75 kB / 1.098 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.6274, allocations: 18.94 kB / 1.098 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.6274, allocations: 9.219 kB / 1.098 GB, free: 36.63 MB / 0.9948 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 7.143e-05/0.6275, allocations: 158.3 kB / 1.098 GB, free: 36.49 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.6275, allocations: 22.42 kB / 1.098 GB, free: 36.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.6276, allocations: 30.44 kB / 1.098 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.6276, allocations: 2.594 kB / 1.098 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6276, allocations: 3.938 kB / 1.098 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6276, allocations: 0 / 1.098 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.6281, allocations: 0.6315 MB / 1.098 GB, free: 36.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6281, allocations: 2.875 kB / 1.098 GB, free: 36.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.6282, allocations: 27.73 kB / 1.098 GB, free: 36.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6282, allocations: 5.031 kB / 1.098 GB, free: 36.02 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.6282, allocations: 6.562 kB / 1.098 GB, free: 36.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.6282, allocations: 5.656 kB / 1.098 GB, free: 36.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6282, allocations: 6.719 kB / 1.098 GB, free: 36.01 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.6285, allocations: 347.5 kB / 1.099 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.6285, allocations: 44.27 kB / 1.099 GB, free: 35.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.6285, allocations: 2.719 kB / 1.099 GB, free: 35.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.6286, allocations: 12.53 kB / 1.099 GB, free: 35.74 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.6287, allocations: 17 kB / 1.099 GB, free: 35.73 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.6287, allocations: 10.27 kB / 1.099 GB, free: 35.73 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.537e-05/0.6288, allocations: 184.1 kB / 1.099 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6288, allocations: 0 / 1.099 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002247/0.629, allocations: 54.05 kB / 1.099 GB, free: 35.62 MB / 0.9948 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.0005633/0.6295, allocations: 0.9323 MB / 1.1 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.6299, allocations: 172.6 kB / 1.1 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6299, allocations: 0.75 kB / 1.1 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.63, allocations: 95.41 kB / 1.1 GB, free: 34.74 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.6306, allocations: 128.3 kB / 1.1 GB, free: 34.71 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.6328, allocations: 2.454 MB / 1.103 GB, free: 32.99 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.633, allocations: 142.4 kB / 1.103 GB, free: 32.91 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.6331, allocations: 66.14 kB / 1.103 GB, free: 32.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.6332, allocations: 64.47 kB / 1.103 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of SimCode: time 4.81e-07/0.6332, allocations: 0 / 1.103 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.6552, allocations: 7.961 MB / 1.111 GB, free: 31.48 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.673, allocations: 8.938 kB / 1.111 GB, free: 31.48 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.703841831535101]