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.00141/0.00141, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001478/0.001478, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.319/1.319, allocations: 225.6 MB / 249.3 MB, free: 3.141 MB / 190.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.496/2.496, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 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.001902/0.001902, allocations: 67.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7674, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1811/0.9485, allocations: 162 MB / 1.43 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.9506, allocations: 0.971 MB / 1.43 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.9509, allocations: 8.625 kB / 1.431 GB, free: 14.22 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.9514, allocations: 165.7 kB / 1.431 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.953, allocations: 0.6664 MB / 1.431 GB, free: 13.59 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006251/0.9536, allocations: 233.5 kB / 1.432 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.9544, allocations: 0.5207 MB / 1.432 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.9547, allocations: 144.9 kB / 1.432 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.9552, allocations: 236.7 kB / 1.432 GB, free: 12.89 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.9554, allocations: 172.9 kB / 1.433 GB, free: 12.79 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.9555, allocations: 14.66 kB / 1.433 GB, free: 12.79 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009533/0.9564, allocations: 0.5832 MB / 1.433 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.9565, allocations: 83.89 kB / 1.433 GB, free: 12.39 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.9567, allocations: 114.5 kB / 1.433 GB, free: 12.32 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.000837/0.9575, allocations: 488.2 kB / 1.434 GB, free: 12.04 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.9575, allocations: 0 / 1.434 GB, free: 12.04 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9575, allocations: 1.094 kB / 1.434 GB, free: 12.04 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.9575, allocations: 3.938 kB / 1.434 GB, free: 12.04 MB / 1.123 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.001463/0.959, allocations: 0.6118 MB / 1.434 GB, free: 11.48 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.959, allocations: 9.312 kB / 1.434 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.9591, allocations: 52.98 kB / 1.434 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.9593, allocations: 48.83 kB / 1.435 GB, free: 11.4 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.9598, allocations: 282.7 kB / 1.435 GB, free: 11.13 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.9598, allocations: 16.08 kB / 1.435 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.9598, allocations: 14.91 kB / 1.435 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.9603, allocations: 244.5 kB / 1.435 GB, free: 10.97 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.9603, allocations: 0 / 1.435 GB, free: 10.97 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.9604, allocations: 6.188 kB / 1.435 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.9604, allocations: 11.48 kB / 1.435 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005695/0.9609, allocations: 248.5 kB / 1.435 GB, free: 10.84 MB / 1.123 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.001249/0.9622, allocations: 0.8469 MB / 1.436 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.9625, allocations: 135.9 kB / 1.436 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.9627, allocations: 108.9 kB / 1.436 GB, free: 9.984 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.963, allocations: 183.8 kB / 1.437 GB, free: 9.789 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.963, allocations: 40.69 kB / 1.437 GB, free: 9.742 MB / 1.123 GB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.963, allocations: 3.938 kB / 1.437 GB, free: 9.738 MB / 1.123 GB Notification: Performance of matching and sorting (n=14): time 0.0008099/0.9638, allocations: 297.9 kB / 1.437 GB, free: 9.582 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.9638, allocations: 54.84 kB / 1.437 GB, free: 9.52 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.9641, allocations: 242.7 kB / 1.437 GB, free: 9.352 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.9641, allocations: 30.98 kB / 1.437 GB, free: 9.316 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/0.9642, allocations: 137.9 kB / 1.437 GB, free: 9.188 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.9642, allocations: 54.41 kB / 1.437 GB, free: 9.141 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.9643, allocations: 34.08 kB / 1.437 GB, free: 9.113 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9645, allocations: 336.3 kB / 1.438 GB, free: 8.781 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.9646, allocations: 74.27 kB / 1.438 GB, free: 8.742 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.9648, allocations: 103.6 kB / 1.438 GB, free: 8.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.9652, allocations: 166.1 kB / 1.438 GB, free: 8.582 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9652, allocations: 1.375 kB / 1.438 GB, free: 8.582 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004484/0.9656, allocations: 220.4 kB / 1.438 GB, free: 8.457 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9657, allocations: 9.438 kB / 1.438 GB, free: 8.453 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9657, allocations: 0 / 1.438 GB, free: 8.453 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.9657, allocations: 1.375 kB / 1.438 GB, free: 8.453 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.9658, allocations: 39.34 kB / 1.438 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.9659, allocations: 1.375 kB / 1.438 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.966, allocations: 20.12 kB / 1.438 GB, free: 8.426 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.966, allocations: 9.5 kB / 1.438 GB, free: 8.422 MB / 1.123 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.0001276/0.9662, allocations: 139.5 kB / 1.438 GB, free: 8.289 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.9662, allocations: 26.8 kB / 1.438 GB, free: 8.273 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.553e-05/0.9663, allocations: 32.7 kB / 1.439 GB, free: 8.25 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.9663, allocations: 1.375 kB / 1.439 GB, free: 8.25 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.9663, allocations: 4 kB / 1.439 GB, free: 8.246 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9663, allocations: 1.156 kB / 1.439 GB, free: 8.246 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.9673, allocations: 0.678 MB / 1.439 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9673, allocations: 1.438 kB / 1.439 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.9675, allocations: 34.66 kB / 1.439 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.9675, allocations: 2.656 kB / 1.439 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.9675, allocations: 2.5 kB / 1.439 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9675, allocations: 2.969 kB / 1.439 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9675, allocations: 2.656 kB / 1.439 GB, free: 7.656 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.968, allocations: 362.9 kB / 1.44 GB, free: 7.359 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.9681, allocations: 119 kB / 1.44 GB, free: 7.238 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.9682, allocations: 3.031 kB / 1.44 GB, free: 7.238 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.9683, allocations: 8.672 kB / 1.44 GB, free: 7.234 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.9684, allocations: 18.11 kB / 1.44 GB, free: 7.223 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.9684, allocations: 5.5 kB / 1.44 GB, free: 7.223 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001803/0.9686, allocations: 180.6 kB / 1.44 GB, free: 7.094 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9686, allocations: 4 kB / 1.44 GB, free: 7.09 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003441/0.9689, allocations: 64.64 kB / 1.44 GB, free: 7.074 MB / 1.123 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.001047/0.97, allocations: 0.9527 MB / 1.441 GB, free: 6.211 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004341/0.9704, allocations: 167.1 kB / 1.441 GB, free: 6.137 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9704, allocations: 4.781 kB / 1.441 GB, free: 6.133 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.9706, allocations: 96.61 kB / 1.441 GB, free: 6.086 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.9713, allocations: 115.5 kB / 1.441 GB, free: 6.027 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.9745, allocations: 2.462 MB / 1.444 GB, free: 3.66 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.9748, allocations: 0.7519 MB / 1.444 GB, free: 2.883 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001868/0.975, allocations: 61.91 kB / 1.444 GB, free: 2.824 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.9751, allocations: 63.41 kB / 1.445 GB, free: 2.762 MB / 1.123 GB Notification: Performance of SimCode: time 5.31e-07/0.9751, allocations: 3.938 kB / 1.445 GB, free: 2.758 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/1.006, allocations: 6.982 MB / 1.451 GB, free: 11.94 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/8.41, allocations: 10.78 kB / 1.451 GB, free: 11.93 MB / 1.139 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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) [Timeout 300] "Error: Could not read variable res.sta_b.T in file Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable res.sta_b.T from file Buildings_11_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.824184047000017]