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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006242/0.006247, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001788/0.001788, allocations: 192.8 kB / 16.68 MB, free: 5.934 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.336/2.336, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 63.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5927/0.5944, allocations: 159.1 MB / 1.22 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1605/0.7549, allocations: 161.3 MB / 1.378 GB, free: 148 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.7565, allocations: 0.963 MB / 1.379 GB, free: 15.18 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.7567, allocations: 7.938 kB / 1.379 GB, free: 15.17 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.7572, allocations: 162.9 kB / 1.379 GB, free: 15.01 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.7583, allocations: 0.638 MB / 1.379 GB, free: 14.37 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004735/0.7588, allocations: 217.6 kB / 1.38 GB, free: 14.16 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005615/0.7594, allocations: 0.5188 MB / 1.38 GB, free: 13.64 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.7597, allocations: 174.8 kB / 1.38 GB, free: 13.47 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.7601, allocations: 235.1 kB / 1.381 GB, free: 13.24 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.7603, allocations: 159.4 kB / 1.381 GB, free: 13.08 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.7603, allocations: 16 kB / 1.381 GB, free: 13.07 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007413/0.761, allocations: 0.5416 MB / 1.381 GB, free: 12.52 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.035e-05/0.7611, allocations: 79.78 kB / 1.381 GB, free: 12.45 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.7613, allocations: 123.3 kB / 1.381 GB, free: 12.32 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.7619, allocations: 487.4 kB / 1.382 GB, free: 11.85 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.7619, allocations: 4 kB / 1.382 GB, free: 11.84 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7619, allocations: 0 / 1.382 GB, free: 11.84 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.7619, allocations: 0 / 1.382 GB, free: 11.84 MB / 1.107 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.001187/0.7631, allocations: 0.6111 MB / 1.382 GB, free: 11.18 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.7631, allocations: 8.031 kB / 1.382 GB, free: 11.18 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.7632, allocations: 58.55 kB / 1.383 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.7634, allocations: 43.83 kB / 1.383 GB, free: 11.07 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.7638, allocations: 286.5 kB / 1.383 GB, free: 10.75 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.7638, allocations: 16.33 kB / 1.383 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.7638, allocations: 16 kB / 1.383 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.7643, allocations: 243.1 kB / 1.383 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7643, allocations: 0 / 1.383 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.7643, allocations: 12 kB / 1.383 GB, free: 10.46 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.7644, allocations: 11.78 kB / 1.383 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.7649, allocations: 251.8 kB / 1.383 GB, free: 10.2 MB / 1.107 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.001124/0.766, allocations: 0.8363 MB / 1.384 GB, free: 9.293 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.7663, allocations: 142.6 kB / 1.384 GB, free: 9.145 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.7665, allocations: 116.8 kB / 1.384 GB, free: 9.027 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.7668, allocations: 182.2 kB / 1.385 GB, free: 8.812 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.7668, allocations: 38.5 kB / 1.385 GB, free: 8.766 MB / 1.107 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.7668, allocations: 0 / 1.385 GB, free: 8.766 MB / 1.107 GB Notification: Performance of matching and sorting (n=14): time 0.0007513/0.7676, allocations: 304.1 kB / 1.385 GB, free: 8.465 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7676, allocations: 59.39 kB / 1.385 GB, free: 8.395 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.7678, allocations: 241 kB / 1.385 GB, free: 8.148 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.7679, allocations: 33.7 kB / 1.385 GB, free: 8.109 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 9.115e-05/0.768, allocations: 132.3 kB / 1.385 GB, free: 7.977 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.768, allocations: 55.56 kB / 1.385 GB, free: 7.922 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.7681, allocations: 37.66 kB / 1.385 GB, free: 7.879 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7682, allocations: 334.8 kB / 1.386 GB, free: 7.543 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.7684, allocations: 71.94 kB / 1.386 GB, free: 7.473 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.7686, allocations: 101.8 kB / 1.386 GB, free: 7.367 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.769, allocations: 178.3 kB / 1.386 GB, free: 7.184 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.769, allocations: 0 / 1.386 GB, free: 7.184 MB / 1.107 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004287/0.7694, allocations: 212.9 kB / 1.386 GB, free: 6.973 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.7694, allocations: 7.938 kB / 1.386 GB, free: 6.965 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.7694, allocations: 0 / 1.386 GB, free: 6.965 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7694, allocations: 4 kB / 1.386 GB, free: 6.961 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.7696, allocations: 35.97 kB / 1.386 GB, free: 6.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.7696, allocations: 4 kB / 1.386 GB, free: 6.922 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.7698, allocations: 23.83 kB / 1.386 GB, free: 6.898 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.7698, allocations: 8 kB / 1.386 GB, free: 6.891 MB / 1.107 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.0001211/0.7699, allocations: 141.8 kB / 1.387 GB, free: 6.742 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.77, allocations: 23.8 kB / 1.387 GB, free: 6.719 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.708e-05/0.77, allocations: 33.83 kB / 1.387 GB, free: 6.688 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7701, allocations: 4 kB / 1.387 GB, free: 6.684 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7701, allocations: 4 kB / 1.387 GB, free: 6.68 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7701, allocations: 3.984 kB / 1.387 GB, free: 6.676 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.771, allocations: 0.6718 MB / 1.387 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.7711, allocations: 4 kB / 1.387 GB, free: 5.922 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.7712, allocations: 27.97 kB / 1.387 GB, free: 5.895 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7712, allocations: 4 kB / 1.387 GB, free: 5.891 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.7712, allocations: 8 kB / 1.387 GB, free: 5.883 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.7712, allocations: 4 kB / 1.387 GB, free: 5.879 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.7713, allocations: 7.938 kB / 1.387 GB, free: 5.871 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.7717, allocations: 357.5 kB / 1.388 GB, free: 5.484 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.816e-05/0.7718, allocations: 113 kB / 1.388 GB, free: 5.355 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.7719, allocations: 4 kB / 1.388 GB, free: 5.352 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.772, allocations: 11.98 kB / 1.388 GB, free: 5.34 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.7721, allocations: 19.86 kB / 1.388 GB, free: 5.32 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.7721, allocations: 4 kB / 1.388 GB, free: 5.316 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001517/0.7723, allocations: 180.5 kB / 1.388 GB, free: 5.141 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.7723, allocations: 0 / 1.388 GB, free: 5.141 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003015/0.7726, allocations: 63.89 kB / 1.388 GB, free: 5.078 MB / 1.107 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.0009635/0.7735, allocations: 0.9545 MB / 1.389 GB, free: 4.078 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004124/0.774, allocations: 176.5 kB / 1.389 GB, free: 3.906 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.774, allocations: 8.125 kB / 1.389 GB, free: 3.898 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.7742, allocations: 91.81 kB / 1.389 GB, free: 3.809 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.7748, allocations: 123 kB / 1.389 GB, free: 3.691 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.7776, allocations: 2.457 MB / 1.392 GB, free: 1.105 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.778, allocations: 0.7558 MB / 1.393 GB, free: 332 kB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.7782, allocations: 61.89 kB / 1.393 GB, free: 272 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.7783, allocations: 67.42 kB / 1.393 GB, free: 204 kB / 1.107 GB Notification: Performance of SimCode: time 2.3e-07/0.7783, allocations: 0 / 1.393 GB, free: 204 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.921/9.699, allocations: 6.928 MB / 1.399 GB, free: 9.434 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/23.37, allocations: 10.72 kB / 1.399 GB, free: 9.426 MB / 1.123 GB (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 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) 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) "" 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