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.005446/0.005447, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001283/0.001283, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.605/2.605, allocations: 437 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3308, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.9006/1.231, allocations: 161.3 MB / 1.324 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002226/1.234, allocations: 0.959 MB / 1.325 GB, free: 7.184 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/1.234, allocations: 9.781 kB / 1.325 GB, free: 7.18 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006614/1.235, allocations: 159.7 kB / 1.325 GB, free: 7.082 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001852/1.237, allocations: 0.6572 MB / 1.325 GB, free: 6.742 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/1.237, allocations: 228.2 kB / 1.326 GB, free: 6.633 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007349/1.238, allocations: 0.5213 MB / 1.326 GB, free: 6.402 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003531/1.238, allocations: 175 kB / 1.326 GB, free: 6.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/1.239, allocations: 233.7 kB / 1.327 GB, free: 6.23 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/1.239, allocations: 164.1 kB / 1.327 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.902e-05/1.239, allocations: 15.28 kB / 1.327 GB, free: 6.156 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/1.241, allocations: 0.5479 MB / 1.327 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/1.241, allocations: 79.5 kB / 1.327 GB, free: 5.906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/1.241, allocations: 112.1 kB / 1.327 GB, free: 5.844 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0008924/1.242, allocations: 491.8 kB / 1.328 GB, free: 5.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.242, allocations: 4 kB / 1.328 GB, free: 5.676 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.833e-06/1.242, allocations: 1.406 kB / 1.328 GB, free: 5.676 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.684e-06/1.242, allocations: 0 / 1.328 GB, free: 5.676 MB / 1.014 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.001435/1.243, allocations: 0.5984 MB / 1.329 GB, free: 5.195 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.243, allocations: 8.969 kB / 1.329 GB, free: 5.195 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/1.243, allocations: 48.8 kB / 1.329 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00029/1.244, allocations: 49.94 kB / 1.329 GB, free: 5.133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/1.244, allocations: 291.5 kB / 1.329 GB, free: 4.879 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/1.244, allocations: 14.14 kB / 1.329 GB, free: 4.871 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/1.244, allocations: 15.91 kB / 1.329 GB, free: 4.867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/1.245, allocations: 248.9 kB / 1.329 GB, free: 4.766 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.245, allocations: 3.938 kB / 1.329 GB, free: 4.762 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/1.245, allocations: 5.5 kB / 1.329 GB, free: 4.758 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/1.245, allocations: 14.55 kB / 1.329 GB, free: 4.754 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005802/1.245, allocations: 246.5 kB / 1.329 GB, free: 4.684 MB / 1.014 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.001357/1.247, allocations: 0.8412 MB / 1.33 GB, free: 4.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/1.247, allocations: 137 kB / 1.33 GB, free: 4.035 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/1.247, allocations: 117.2 kB / 1.33 GB, free: 3.992 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/1.248, allocations: 190.3 kB / 1.331 GB, free: 3.797 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/1.248, allocations: 36.33 kB / 1.331 GB, free: 3.754 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/1.248, allocations: 0 / 1.331 GB, free: 3.754 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.0008175/1.248, allocations: 299.7 kB / 1.331 GB, free: 3.645 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/1.249, allocations: 64.72 kB / 1.331 GB, free: 3.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/1.249, allocations: 238.8 kB / 1.331 GB, free: 3.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/1.249, allocations: 30.67 kB / 1.331 GB, free: 3.395 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9e-05/1.249, allocations: 135.6 kB / 1.331 GB, free: 3.277 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/1.249, allocations: 50.11 kB / 1.331 GB, free: 3.238 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/1.249, allocations: 33.17 kB / 1.332 GB, free: 3.215 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.249, allocations: 331 kB / 1.332 GB, free: 2.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/1.249, allocations: 69.78 kB / 1.332 GB, free: 2.875 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/1.25, allocations: 107.1 kB / 1.332 GB, free: 2.824 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/1.25, allocations: 167.1 kB / 1.332 GB, free: 2.754 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.25, allocations: 0 / 1.332 GB, free: 2.754 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004486/1.25, allocations: 216.8 kB / 1.332 GB, free: 2.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.25, allocations: 11.22 kB / 1.332 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.25, allocations: 1.25 kB / 1.332 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.25, allocations: 1.156 kB / 1.332 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/1.251, allocations: 33.45 kB / 1.332 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.251, allocations: 2.484 kB / 1.332 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/1.251, allocations: 23.14 kB / 1.332 GB, free: 2.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/1.251, allocations: 10.55 kB / 1.332 GB, free: 2.637 MB / 1.014 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.0001263/1.251, allocations: 136.2 kB / 1.333 GB, free: 2.512 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/1.251, allocations: 24.72 kB / 1.333 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/1.251, allocations: 32.88 kB / 1.333 GB, free: 2.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.251, allocations: 5.344 kB / 1.333 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.251, allocations: 0 / 1.333 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/1.251, allocations: 1.219 kB / 1.333 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/1.252, allocations: 0.679 MB / 1.333 GB, free: 1.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.252, allocations: 1.625 kB / 1.333 GB, free: 1.992 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/1.252, allocations: 34.03 kB / 1.333 GB, free: 1.988 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.252, allocations: 1.594 kB / 1.333 GB, free: 1.988 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/1.252, allocations: 7.562 kB / 1.333 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/1.252, allocations: 9.047 kB / 1.333 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.252, allocations: 2.375 kB / 1.333 GB, free: 1.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005304/1.253, allocations: 366.2 kB / 1.334 GB, free: 1.715 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.253, allocations: 110.6 kB / 1.334 GB, free: 1.605 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/1.253, allocations: 7.812 kB / 1.334 GB, free: 1.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/1.253, allocations: 18.05 kB / 1.334 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/1.253, allocations: 12.25 kB / 1.334 GB, free: 1.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.253, allocations: 10.7 kB / 1.334 GB, free: 1.586 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001642/1.254, allocations: 175.9 kB / 1.334 GB, free: 1.484 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.254, allocations: 0 / 1.334 GB, free: 1.484 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003889/1.254, allocations: 60.66 kB / 1.334 GB, free: 1.473 MB / 1.014 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.001055/1.255, allocations: 0.941 MB / 1.335 GB, free: 0.668 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004928/1.256, allocations: 180.4 kB / 1.335 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.256, allocations: 0 / 1.335 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/1.256, allocations: 96.02 kB / 1.335 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/1.256, allocations: 122.3 kB / 1.335 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/1.26, allocations: 2.461 MB / 1.338 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.26, allocations: 0.7576 MB / 1.339 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002147/1.26, allocations: 64.41 kB / 1.339 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.26, allocations: 66.12 kB / 1.339 GB, free: 14.06 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/1.26, allocations: 0.8125 kB / 1.339 GB, free: 14.06 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/1.289, allocations: 6.92 MB / 1.345 GB, free: 13.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/8.829, allocations: 5.422 kB / 1.345 GB, free: 13.33 MB / 1.029 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