Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 189 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 239.9 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7101 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 59.91 kB / 0.8688 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5939/0.5956, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1645/0.7601, allocations: 159.1 MB / 1.172 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.7619, allocations: 0.9492 MB / 1.173 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.7621, allocations: 11.94 kB / 1.173 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.7627, allocations: 135.3 kB / 1.173 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.764, allocations: 0.6071 MB / 1.174 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.7646, allocations: 203.9 kB / 1.174 GB, free: 1.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000576/0.7652, allocations: 0.5187 MB / 1.175 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.7655, allocations: 168.2 kB / 1.175 GB, free: 376 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.7659, allocations: 243.1 kB / 1.175 GB, free: 132 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.7661, allocations: 171.3 kB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.7662, allocations: 23.94 kB / 1.175 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007976/0.767, allocations: 0.5571 MB / 1.176 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.7671, allocations: 75.8 kB / 1.176 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.7672, allocations: 127.3 kB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.7679, allocations: 0.5141 MB / 1.177 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7679, allocations: 0 / 1.177 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7679, allocations: 0 / 1.177 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7679, allocations: 0 / 1.177 GB, free: 14.66 MB / 0.9356 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.001371/0.7693, allocations: 0.5922 MB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.7693, allocations: 12.03 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.715e-05/0.7694, allocations: 50.55 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.7696, allocations: 43.69 kB / 1.177 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.77, allocations: 282.3 kB / 1.177 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.77, allocations: 12.33 kB / 1.177 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.77, allocations: 20 kB / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.7705, allocations: 239.1 kB / 1.178 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.7706, allocations: 0 / 1.178 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.7706, allocations: 15.98 kB / 1.178 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.7706, allocations: 11.94 kB / 1.178 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006331/0.7713, allocations: 255.6 kB / 1.178 GB, free: 13.05 MB / 0.9356 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.00123/0.7725, allocations: 0.8277 MB / 1.179 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003265/0.7728, allocations: 146.5 kB / 1.179 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.7731, allocations: 112.8 kB / 1.179 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.7733, allocations: 190.2 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.7734, allocations: 42.48 kB / 1.179 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.7734, allocations: 0 / 1.179 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0008132/0.7742, allocations: 297.3 kB / 1.18 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.7742, allocations: 55.41 kB / 1.18 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.7745, allocations: 241 kB / 1.18 GB, free: 11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.7745, allocations: 33.7 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.7746, allocations: 132.2 kB / 1.18 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.7747, allocations: 51.3 kB / 1.18 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.7747, allocations: 37.7 kB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7749, allocations: 330.8 kB / 1.18 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.7751, allocations: 67.95 kB / 1.18 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.7753, allocations: 102.5 kB / 1.181 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.7756, allocations: 174.3 kB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7756, allocations: 0 / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004542/0.7761, allocations: 221.2 kB / 1.181 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7761, allocations: 7.938 kB / 1.181 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7761, allocations: 0 / 1.181 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.7762, allocations: 4.062 kB / 1.181 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.7764, allocations: 31.97 kB / 1.181 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.7764, allocations: 4 kB / 1.181 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.7766, allocations: 19.83 kB / 1.181 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.7766, allocations: 8 kB / 1.181 GB, free: 9.754 MB / 0.9356 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.0001254/0.7767, allocations: 145.8 kB / 1.181 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.7768, allocations: 27.66 kB / 1.181 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.7769, allocations: 37.77 kB / 1.181 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7769, allocations: 4 kB / 1.181 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.7769, allocations: 0 / 1.181 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.7769, allocations: 0 / 1.181 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.7779, allocations: 0.6757 MB / 1.182 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7779, allocations: 0 / 1.182 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.7781, allocations: 35.91 kB / 1.182 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.7781, allocations: 0 / 1.182 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.7781, allocations: 8 kB / 1.182 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7782, allocations: 4 kB / 1.182 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7782, allocations: 224 / 1.182 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.7787, allocations: 361 kB / 1.182 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.7788, allocations: 116.8 kB / 1.182 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.7788, allocations: 4 kB / 1.182 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.779, allocations: 11.98 kB / 1.182 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.779, allocations: 19.86 kB / 1.182 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.7791, allocations: 12 kB / 1.182 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001499/0.7792, allocations: 180.5 kB / 1.183 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7792, allocations: 0 / 1.183 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003438/0.7796, allocations: 59.94 kB / 1.183 GB, free: 7.926 MB / 0.9356 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.0009487/0.7805, allocations: 0.9393 MB / 1.184 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.781, allocations: 183.8 kB / 1.184 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.781, allocations: 0 / 1.184 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.7812, allocations: 87.88 kB / 1.184 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.782, allocations: 127.6 kB / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.7849, allocations: 2.521 MB / 1.186 GB, free: 3.902 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.7852, allocations: 0.7519 MB / 1.187 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.7854, allocations: 61.91 kB / 1.187 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7855, allocations: 67.41 kB / 1.187 GB, free: 3 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.7855, allocations: 0 / 1.187 GB, free: 3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.804, allocations: 6.718 MB / 1.194 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/0.8043, allocations: 248.9 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.801, allocations: 0 / 1.194 GB, free: 12.23 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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