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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 112.4 kB / 16.45 MB, free: 6.496 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.001318/0.001318, allocations: 195.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.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.91 kB / 1.104 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7638, allocations: 168.7 MB / 1.269 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1864/0.9502, allocations: 161.8 MB / 1.427 GB, free: 2.758 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.9521, allocations: 0.9692 MB / 1.428 GB, free: 1.789 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.9523, allocations: 11.94 kB / 1.428 GB, free: 1.777 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.9529, allocations: 159 kB / 1.428 GB, free: 1.621 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.9544, allocations: 0.6653 MB / 1.429 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.9549, allocations: 230.5 kB / 1.429 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.9556, allocations: 0.5226 MB / 1.429 GB, free: 208 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.9559, allocations: 148.2 kB / 1.429 GB, free: 60 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.9563, allocations: 239.1 kB / 1.43 GB, free: 15.82 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.9565, allocations: 171.3 kB / 1.43 GB, free: 15.66 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.9566, allocations: 12 kB / 1.43 GB, free: 15.64 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008903/0.9575, allocations: 0.5844 MB / 1.43 GB, free: 15.06 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.9576, allocations: 79.78 kB / 1.43 GB, free: 14.98 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.9577, allocations: 119.4 kB / 1.431 GB, free: 14.86 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.9584, allocations: 494.4 kB / 1.431 GB, free: 14.38 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9584, allocations: 0 / 1.431 GB, free: 14.38 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9584, allocations: 4 kB / 1.431 GB, free: 14.38 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.9584, allocations: 3.938 kB / 1.431 GB, free: 14.37 MB / 1.139 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.001418/0.9598, allocations: 0.6035 MB / 1.432 GB, free: 13.72 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9599, allocations: 8.031 kB / 1.432 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.9599, allocations: 54.48 kB / 1.432 GB, free: 13.65 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.9602, allocations: 51.83 kB / 1.432 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.9607, allocations: 282.5 kB / 1.432 GB, free: 13.28 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.9607, allocations: 16.33 kB / 1.432 GB, free: 13.27 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.9607, allocations: 16 kB / 1.432 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.9612, allocations: 239.1 kB / 1.432 GB, free: 13.01 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.9612, allocations: 4 kB / 1.432 GB, free: 13.01 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.9612, allocations: 8 kB / 1.432 GB, free: 13 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.9613, allocations: 11.78 kB / 1.432 GB, free: 12.99 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.9618, allocations: 251.8 kB / 1.433 GB, free: 12.74 MB / 1.139 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.00133/0.9632, allocations: 0.8356 MB / 1.433 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.9635, allocations: 138.5 kB / 1.433 GB, free: 11.69 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.9637, allocations: 108.7 kB / 1.434 GB, free: 11.58 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.964, allocations: 190.2 kB / 1.434 GB, free: 11.36 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.964, allocations: 38.5 kB / 1.434 GB, free: 11.31 MB / 1.139 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.964, allocations: 0 / 1.434 GB, free: 11.31 MB / 1.139 GB Notification: Performance of matching and sorting (n=14): time 0.0008326/0.9648, allocations: 302.6 kB / 1.434 GB, free: 11.01 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.9649, allocations: 59.41 kB / 1.434 GB, free: 10.94 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.9651, allocations: 237 kB / 1.434 GB, free: 10.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.9652, allocations: 33.7 kB / 1.434 GB, free: 10.66 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.9653, allocations: 132.3 kB / 1.435 GB, free: 10.52 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.9653, allocations: 51.58 kB / 1.435 GB, free: 10.47 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-05/0.9654, allocations: 37.66 kB / 1.435 GB, free: 10.43 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.9655, allocations: 330.8 kB / 1.435 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.9657, allocations: 71.95 kB / 1.435 GB, free: 10.03 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.9659, allocations: 98.5 kB / 1.435 GB, free: 9.922 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.9663, allocations: 177.9 kB / 1.435 GB, free: 9.742 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.9663, allocations: 3.984 kB / 1.435 GB, free: 9.738 MB / 1.139 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004459/0.9667, allocations: 209.4 kB / 1.435 GB, free: 9.527 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9668, allocations: 9.656 kB / 1.435 GB, free: 9.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9668, allocations: 0 / 1.435 GB, free: 9.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.9668, allocations: 4 kB / 1.435 GB, free: 9.516 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.967, allocations: 31.97 kB / 1.436 GB, free: 9.484 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.967, allocations: 4.062 kB / 1.436 GB, free: 9.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.9672, allocations: 31.83 kB / 1.436 GB, free: 9.449 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.9672, allocations: 7.938 kB / 1.436 GB, free: 9.441 MB / 1.139 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.0001468/0.9673, allocations: 137.8 kB / 1.436 GB, free: 9.297 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.9674, allocations: 23.8 kB / 1.436 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/0.9674, allocations: 33.88 kB / 1.436 GB, free: 9.242 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.9675, allocations: 3.984 kB / 1.436 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9675, allocations: 4 kB / 1.436 GB, free: 9.234 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9675, allocations: 3.984 kB / 1.436 GB, free: 9.23 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.9686, allocations: 0.6797 MB / 1.436 GB, free: 8.473 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.9686, allocations: 4 kB / 1.436 GB, free: 8.469 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.9687, allocations: 31.91 kB / 1.436 GB, free: 8.438 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.9687, allocations: 4 kB / 1.436 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.9688, allocations: 8 kB / 1.436 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9688, allocations: 0 / 1.436 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9688, allocations: 4 kB / 1.436 GB, free: 8.422 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.9693, allocations: 353.3 kB / 1.437 GB, free: 8.039 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.9694, allocations: 121 kB / 1.437 GB, free: 7.902 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.9694, allocations: 4 kB / 1.437 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.9696, allocations: 15.92 kB / 1.437 GB, free: 7.883 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.9696, allocations: 19.86 kB / 1.437 GB, free: 7.863 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.9697, allocations: 4 kB / 1.437 GB, free: 7.859 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001694/0.9698, allocations: 180.5 kB / 1.437 GB, free: 7.68 MB / 1.139 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9698, allocations: 0 / 1.437 GB, free: 7.68 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003381/0.9702, allocations: 59.89 kB / 1.437 GB, free: 7.621 MB / 1.139 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.001065/0.9712, allocations: 0.9427 MB / 1.438 GB, free: 6.633 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.9717, allocations: 177.4 kB / 1.438 GB, free: 6.461 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9717, allocations: 0 / 1.438 GB, free: 6.461 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.9719, allocations: 92 kB / 1.438 GB, free: 6.371 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.9726, allocations: 129.3 kB / 1.438 GB, free: 6.25 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.9758, allocations: 2.46 MB / 1.441 GB, free: 3.66 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.9762, allocations: 0.7558 MB / 1.442 GB, free: 2.879 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002045/0.9764, allocations: 57.91 kB / 1.442 GB, free: 2.824 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.9765, allocations: 63.42 kB / 1.442 GB, free: 2.762 MB / 1.139 GB Notification: Performance of SimCode: time 3.61e-07/0.9765, allocations: 11.88 kB / 1.442 GB, free: 2.75 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/1.007, allocations: 6.978 MB / 1.449 GB, free: 11.94 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/9.187, allocations: 1.266 kB / 1.449 GB, free: 11.94 MB / 1.154 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.21143265394494]