Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 107.6 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002052/0.002052, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 0.505 GB / 0.8066 GB, free: 23.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 76.55 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3584, allocations: 180.2 MB / 1.348 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.24/0.5984, allocations: 176.9 MB / 1.52 GB, free: 8.449 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006335/0.6048, allocations: 1.846 MB / 1.522 GB, free: 6.598 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006868/0.6055, allocations: 23.81 kB / 1.522 GB, free: 6.574 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.6068, allocations: 222.5 kB / 1.523 GB, free: 6.355 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.6107, allocations: 0.7817 MB / 1.523 GB, free: 5.57 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/0.6149, allocations: 0.8528 MB / 1.524 GB, free: 4.719 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002155/0.617, allocations: 0.8493 MB / 1.525 GB, free: 3.867 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008723/0.6179, allocations: 247 kB / 1.525 GB, free: 3.621 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002343/0.6202, allocations: 0.5878 MB / 1.526 GB, free: 3.031 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008593/0.6211, allocations: 274.9 kB / 1.526 GB, free: 2.762 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.6212, allocations: 24 kB / 1.526 GB, free: 2.738 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.6251, allocations: 1.161 MB / 1.527 GB, free: 1.574 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.6255, allocations: 135.5 kB / 1.527 GB, free: 1.441 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005226/0.626, allocations: 199 kB / 1.527 GB, free: 1.246 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.6289, allocations: 0.919 MB / 1.528 GB, free: 332 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.6289, allocations: 0 / 1.528 GB, free: 332 kB / 1.217 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6289, allocations: 0 / 1.528 GB, free: 332 kB / 1.217 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.629, allocations: 0 / 1.528 GB, free: 332 kB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.003454/0.6324, allocations: 0.7936 MB / 1.529 GB, free: 15.48 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 7.255e-05/0.6325, allocations: 15.98 kB / 1.529 GB, free: 15.46 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.6326, allocations: 70.47 kB / 1.529 GB, free: 15.39 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.6347, allocations: 159.5 kB / 1.529 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.6359, allocations: 370.2 kB / 1.53 GB, free: 14.82 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/0.6359, allocations: 20.56 kB / 1.53 GB, free: 14.8 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.636, allocations: 27.98 kB / 1.53 GB, free: 14.78 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.6373, allocations: 398.1 kB / 1.53 GB, free: 14.37 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6373, allocations: 3.938 kB / 1.53 GB, free: 14.37 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.6374, allocations: 12 kB / 1.53 GB, free: 14.36 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.6375, allocations: 20.5 kB / 1.53 GB, free: 14.34 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.6388, allocations: 338 kB / 1.531 GB, free: 14 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/0.6426, allocations: 1.781 MB / 1.532 GB, free: 12.05 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/0.6436, allocations: 380.8 kB / 1.533 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.644, allocations: 132.8 kB / 1.533 GB, free: 11.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008506/0.6448, allocations: 307.2 kB / 1.533 GB, free: 11.14 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.6449, allocations: 34.56 kB / 1.533 GB, free: 11.1 MB / 1.232 GB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/0.6449, allocations: 0 / 1.533 GB, free: 11.1 MB / 1.232 GB Notification: Performance of matching and sorting (n=20): time 0.001623/0.6465, allocations: 386.7 kB / 1.533 GB, free: 10.72 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.6465, allocations: 51.41 kB / 1.533 GB, free: 10.66 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007065/0.6472, allocations: 361.7 kB / 1.534 GB, free: 10.3 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.6473, allocations: 33.7 kB / 1.534 GB, free: 10.26 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.6475, allocations: 200.3 kB / 1.534 GB, free: 10.06 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6476, allocations: 71.38 kB / 1.534 GB, free: 9.988 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.6478, allocations: 41.7 kB / 1.534 GB, free: 9.941 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.648, allocations: 354.7 kB / 1.535 GB, free: 9.586 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.6483, allocations: 87.92 kB / 1.535 GB, free: 9.5 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.6487, allocations: 153.9 kB / 1.535 GB, free: 9.328 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007202/0.6494, allocations: 250.9 kB / 1.535 GB, free: 9.062 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.6495, allocations: 4 kB / 1.535 GB, free: 9.059 MB / 1.232 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009658/0.6504, allocations: 307.2 kB / 1.535 GB, free: 8.754 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6504, allocations: 4 kB / 1.535 GB, free: 8.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6505, allocations: 4 kB / 1.535 GB, free: 8.746 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.6505, allocations: 0 / 1.535 GB, free: 8.746 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.6508, allocations: 51.91 kB / 1.535 GB, free: 8.695 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6508, allocations: 4 kB / 1.535 GB, free: 8.691 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.6512, allocations: 43.7 kB / 1.535 GB, free: 8.648 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.6513, allocations: 8 kB / 1.535 GB, free: 8.641 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.000236/0.6515, allocations: 161.8 kB / 1.536 GB, free: 8.473 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6516, allocations: 39.75 kB / 1.536 GB, free: 8.434 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.6526, allocations: 300.9 kB / 1.536 GB, free: 8.133 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6526, allocations: 0 / 1.536 GB, free: 8.133 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6526, allocations: 7.938 kB / 1.536 GB, free: 8.125 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6526, allocations: 48 / 1.536 GB, free: 8.125 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.6546, allocations: 0.9013 MB / 1.537 GB, free: 7.133 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6546, allocations: 4 kB / 1.537 GB, free: 7.129 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.6548, allocations: 43.91 kB / 1.537 GB, free: 7.086 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.6548, allocations: 4 kB / 1.537 GB, free: 7.082 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.6548, allocations: 11.98 kB / 1.537 GB, free: 7.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.6548, allocations: 8 kB / 1.537 GB, free: 7.062 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6548, allocations: 7.938 kB / 1.537 GB, free: 7.055 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006869/0.6555, allocations: 450.1 kB / 1.537 GB, free: 6.566 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.6557, allocations: 136.8 kB / 1.537 GB, free: 6.414 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.6557, allocations: 4 kB / 1.537 GB, free: 6.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.656, allocations: 15.98 kB / 1.537 GB, free: 6.395 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.6561, allocations: 23.92 kB / 1.537 GB, free: 6.371 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.6561, allocations: 8 kB / 1.537 GB, free: 6.363 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003141/0.6564, allocations: 263.1 kB / 1.538 GB, free: 6.109 MB / 1.232 GB Notification: Performance of sort global known variables: time 6e-08/0.6564, allocations: 0 / 1.538 GB, free: 6.109 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0004775/0.6569, allocations: 95.89 kB / 1.538 GB, free: 6.016 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.001296/0.6582, allocations: 1.04 MB / 1.539 GB, free: 4.914 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005986/0.6588, allocations: 231.7 kB / 1.539 GB, free: 4.688 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.6588, allocations: 0 / 1.539 GB, free: 4.688 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.6591, allocations: 124.7 kB / 1.539 GB, free: 4.566 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.6602, allocations: 227.2 kB / 1.539 GB, free: 4.348 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.6652, allocations: 3.315 MB / 1.543 GB, free: 0.8594 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.6657, allocations: 0.7957 MB / 1.543 GB, free: 36 kB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003707/0.6661, allocations: 87.28 kB / 1.543 GB, free: 15.95 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.6663, allocations: 115.4 kB / 1.544 GB, free: 15.83 MB / 1.248 GB Notification: Performance of SimCode: time 9.92e-07/0.6663, allocations: 4 kB / 1.544 GB, free: 15.83 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/0.7051, allocations: 10.82 MB / 1.554 GB, free: 5.238 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.548/9.253, allocations: 4.688 kB / 1.554 GB, free: 5.234 MB / 1.248 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senTemIn.T in file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemIn.T from file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! Error: Could not read variable senTemOut.T in file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemOut.T from file Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.044665687019005]