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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 104.1 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.536/2.536, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.91 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8585, allocations: 160.7 MB / 1.213 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.211/1.069, allocations: 161.8 MB / 1.371 GB, free: 5.801 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002557/1.072, allocations: 0.9703 MB / 1.372 GB, free: 4.828 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/1.072, allocations: 11.94 kB / 1.372 GB, free: 4.816 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006353/1.073, allocations: 159 kB / 1.372 GB, free: 4.66 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/1.075, allocations: 0.6575 MB / 1.373 GB, free: 4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/1.075, allocations: 223.7 kB / 1.373 GB, free: 3.785 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007102/1.076, allocations: 0.5188 MB / 1.373 GB, free: 3.266 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/1.076, allocations: 152.1 kB / 1.374 GB, free: 3.113 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004763/1.077, allocations: 247.1 kB / 1.374 GB, free: 2.871 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/1.077, allocations: 171.3 kB / 1.374 GB, free: 2.703 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/1.077, allocations: 16 kB / 1.374 GB, free: 2.688 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/1.078, allocations: 0.5805 MB / 1.375 GB, free: 2.105 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/1.078, allocations: 79.73 kB / 1.375 GB, free: 2.027 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/1.078, allocations: 115.5 kB / 1.375 GB, free: 1.914 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008019/1.079, allocations: 494.3 kB / 1.375 GB, free: 1.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.079, allocations: 0 / 1.375 GB, free: 1.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/1.079, allocations: 0 / 1.375 GB, free: 1.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.079, allocations: 0 / 1.375 GB, free: 1.43 MB / 1.076 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.001484/1.081, allocations: 0.6035 MB / 1.376 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.081, allocations: 8.625 kB / 1.376 GB, free: 0.7695 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/1.081, allocations: 50.55 kB / 1.376 GB, free: 0.7109 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002612/1.081, allocations: 55.77 kB / 1.376 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/1.082, allocations: 288.1 kB / 1.376 GB, free: 344 kB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/1.082, allocations: 20.31 kB / 1.376 GB, free: 324 kB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/1.082, allocations: 16 kB / 1.376 GB, free: 308 kB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/1.082, allocations: 242.9 kB / 1.376 GB, free: 60 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/1.082, allocations: 0 / 1.376 GB, free: 60 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/1.082, allocations: 15.94 kB / 1.376 GB, free: 44 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/1.082, allocations: 11.94 kB / 1.376 GB, free: 32 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/1.083, allocations: 251.8 kB / 1.377 GB, free: 15.79 MB / 1.092 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.001455/1.084, allocations: 0.8358 MB / 1.378 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/1.085, allocations: 138.5 kB / 1.378 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002317/1.085, allocations: 108.8 kB / 1.378 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/1.085, allocations: 182.2 kB / 1.378 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/1.085, allocations: 38.5 kB / 1.378 GB, free: 14.36 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/1.085, allocations: 4 kB / 1.378 GB, free: 14.36 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.0009086/1.086, allocations: 300 kB / 1.378 GB, free: 14.06 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/1.086, allocations: 59.41 kB / 1.378 GB, free: 13.99 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/1.087, allocations: 233 kB / 1.379 GB, free: 13.75 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/1.087, allocations: 37.69 kB / 1.379 GB, free: 13.71 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/1.087, allocations: 132.3 kB / 1.379 GB, free: 13.58 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/1.087, allocations: 55.56 kB / 1.379 GB, free: 13.52 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/1.087, allocations: 37.64 kB / 1.379 GB, free: 13.48 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.087, allocations: 330.8 kB / 1.379 GB, free: 13.15 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.087, allocations: 71.94 kB / 1.379 GB, free: 13.08 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/1.087, allocations: 98.52 kB / 1.379 GB, free: 12.97 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/1.088, allocations: 170.5 kB / 1.379 GB, free: 12.8 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.088, allocations: 0 / 1.379 GB, free: 12.8 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004617/1.088, allocations: 209.4 kB / 1.38 GB, free: 12.59 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.088, allocations: 15.94 kB / 1.38 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.088, allocations: 0 / 1.38 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.088, allocations: 4 kB / 1.38 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/1.089, allocations: 27.97 kB / 1.38 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.089, allocations: 4 kB / 1.38 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/1.089, allocations: 27.83 kB / 1.38 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/1.089, allocations: 4 kB / 1.38 GB, free: 12.5 MB / 1.092 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.0001476/1.089, allocations: 141.8 kB / 1.38 GB, free: 12.36 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/1.089, allocations: 27.83 kB / 1.38 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.186e-05/1.089, allocations: 33.78 kB / 1.38 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.089, allocations: 4 kB / 1.38 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.089, allocations: 0 / 1.38 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.089, allocations: 3.984 kB / 1.38 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/1.09, allocations: 0.6757 MB / 1.381 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.09, allocations: 4 kB / 1.381 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/1.09, allocations: 27.92 kB / 1.381 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.09, allocations: 7.938 kB / 1.381 GB, free: 11.49 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/1.09, allocations: 8 kB / 1.381 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/1.09, allocations: 8.281 kB / 1.381 GB, free: 11.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.09, allocations: 7.984 kB / 1.381 GB, free: 11.47 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/1.091, allocations: 360.8 kB / 1.381 GB, free: 11.08 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.091, allocations: 113 kB / 1.381 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/1.091, allocations: 8 kB / 1.381 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/1.091, allocations: 11.98 kB / 1.381 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/1.091, allocations: 15.92 kB / 1.381 GB, free: 10.92 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.091, allocations: 8 kB / 1.381 GB, free: 10.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.000181/1.091, allocations: 180.5 kB / 1.381 GB, free: 10.73 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.091, allocations: 0 / 1.381 GB, free: 10.73 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003617/1.092, allocations: 55.94 kB / 1.381 GB, free: 10.68 MB / 1.092 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.001148/1.093, allocations: 0.9511 MB / 1.382 GB, free: 9.684 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004729/1.093, allocations: 165.6 kB / 1.382 GB, free: 9.523 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.093, allocations: 0 / 1.382 GB, free: 9.523 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/1.094, allocations: 91.81 kB / 1.383 GB, free: 9.434 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/1.094, allocations: 132.8 kB / 1.383 GB, free: 9.309 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/1.098, allocations: 2.48 MB / 1.385 GB, free: 6.699 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/1.098, allocations: 0.7519 MB / 1.386 GB, free: 5.922 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002217/1.099, allocations: 57.91 kB / 1.386 GB, free: 5.867 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.099, allocations: 71.41 kB / 1.386 GB, free: 5.797 MB / 1.092 GB Notification: Performance of SimCode: time 8.22e-07/1.099, allocations: 0 / 1.386 GB, free: 5.797 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/1.132, allocations: 6.972 MB / 1.393 GB, free: 15 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/9.5, allocations: 12.59 kB / 1.393 GB, free: 14.99 MB / 1.107 GB " [Timeout remaining time 290] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.256524589844048]