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.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.001742/0.001742, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001715/0.001715, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.685/2.685, allocations: 476.8 MB / 0.7707 GB, free: 4.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.001982/0.001982, allocations: 67.42 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 170 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1961/0.5082, allocations: 164.9 MB / 1.444 GB, free: 6.301 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.002203/0.5104, allocations: 0.9721 MB / 1.445 GB, free: 5.328 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.5107, allocations: 15.88 kB / 1.445 GB, free: 5.312 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007236/0.5114, allocations: 166.9 kB / 1.445 GB, free: 5.148 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.5131, allocations: 0.6692 MB / 1.446 GB, free: 4.477 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.5138, allocations: 240.4 kB / 1.446 GB, free: 4.246 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000743/0.5145, allocations: 0.5266 MB / 1.447 GB, free: 3.715 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.5149, allocations: 144.3 kB / 1.447 GB, free: 3.57 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.5153, allocations: 239.1 kB / 1.447 GB, free: 3.336 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.5156, allocations: 175.3 kB / 1.447 GB, free: 3.164 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.5156, allocations: 12 kB / 1.447 GB, free: 3.152 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.5167, allocations: 0.5923 MB / 1.448 GB, free: 2.559 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.5168, allocations: 83.73 kB / 1.448 GB, free: 2.477 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.5169, allocations: 123.3 kB / 1.448 GB, free: 2.355 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.5177, allocations: 486.4 kB / 1.449 GB, free: 1.879 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5178, allocations: 4 kB / 1.449 GB, free: 1.875 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5178, allocations: 0 / 1.449 GB, free: 1.875 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.922e-06/0.5178, allocations: 3.938 kB / 1.449 GB, free: 1.871 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.001404/0.5192, allocations: 0.532 MB / 1.449 GB, free: 1.309 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5192, allocations: 8.031 kB / 1.449 GB, free: 1.301 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.5193, allocations: 54.55 kB / 1.449 GB, free: 1.238 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.5195, allocations: 47.81 kB / 1.449 GB, free: 1.191 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.52, allocations: 236.4 kB / 1.45 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.52, allocations: 12.33 kB / 1.45 GB, free: 0.9219 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.52, allocations: 16 kB / 1.45 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.5206, allocations: 235.1 kB / 1.45 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5206, allocations: 0 / 1.45 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.5206, allocations: 8 kB / 1.45 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.5e-05/0.5206, allocations: 19.98 kB / 1.45 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/0.5212, allocations: 255.5 kB / 1.45 GB, free: 404 kB / 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.001341/0.5225, allocations: 0.7996 MB / 1.451 GB, free: 15.53 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.5229, allocations: 134.6 kB / 1.451 GB, free: 15.39 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.5231, allocations: 108.8 kB / 1.451 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001992/0.5233, allocations: 35.97 kB / 1.451 GB, free: 15.24 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.5233, allocations: 38.5 kB / 1.451 GB, free: 15.2 MB / 1.154 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.5233, allocations: 0 / 1.451 GB, free: 15.2 MB / 1.154 GB Notification: Performance of matching and sorting (n=14): time 0.0008378/0.5242, allocations: 297.3 kB / 1.451 GB, free: 14.9 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.5242, allocations: 55.41 kB / 1.451 GB, free: 14.83 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.5245, allocations: 245.1 kB / 1.452 GB, free: 14.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.5245, allocations: 29.64 kB / 1.452 GB, free: 14.55 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.5246, allocations: 140.3 kB / 1.452 GB, free: 14.41 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.5246, allocations: 55.52 kB / 1.452 GB, free: 14.36 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.5247, allocations: 37.7 kB / 1.452 GB, free: 14.31 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5249, allocations: 326.8 kB / 1.452 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5251, allocations: 67.94 kB / 1.452 GB, free: 13.92 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.5253, allocations: 106.5 kB / 1.452 GB, free: 13.8 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.5256, allocations: 167.9 kB / 1.453 GB, free: 13.63 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5256, allocations: 0 / 1.453 GB, free: 13.63 MB / 1.154 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004549/0.5261, allocations: 223 kB / 1.453 GB, free: 13.41 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5261, allocations: 7.938 kB / 1.453 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5261, allocations: 0 / 1.453 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5261, allocations: 4 kB / 1.453 GB, free: 13.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.5263, allocations: 31.92 kB / 1.453 GB, free: 13.37 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.5263, allocations: 7.984 kB / 1.453 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.5265, allocations: 15.89 kB / 1.453 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.5265, allocations: 19.98 kB / 1.453 GB, free: 13.32 MB / 1.154 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.0001466/0.5266, allocations: 137.8 kB / 1.453 GB, free: 13.18 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-05/0.5267, allocations: 23.8 kB / 1.453 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.959e-05/0.5268, allocations: 33.77 kB / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5268, allocations: 0 / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5268, allocations: 0 / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5268, allocations: 0 / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5279, allocations: 0.6591 MB / 1.454 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5279, allocations: 4 kB / 1.454 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.5281, allocations: 28.2 kB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5281, allocations: 4 kB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.5281, allocations: 7.984 kB / 1.454 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5281, allocations: 0 / 1.454 GB, free: 12.35 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.5281, allocations: 7.938 kB / 1.454 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.5286, allocations: 353.2 kB / 1.454 GB, free: 11.96 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.5287, allocations: 35.84 kB / 1.454 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.5288, allocations: 11.94 kB / 1.454 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.5289, allocations: 11.98 kB / 1.454 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.529, allocations: 19.86 kB / 1.454 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.529, allocations: 11.98 kB / 1.454 GB, free: 11.87 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001842/0.5292, allocations: 176.5 kB / 1.454 GB, free: 11.7 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5292, allocations: 0 / 1.454 GB, free: 11.7 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00035/0.5295, allocations: 59.92 kB / 1.454 GB, free: 11.64 MB / 1.154 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.001044/0.5306, allocations: 0.9294 MB / 1.455 GB, free: 10.66 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.531, allocations: 174.5 kB / 1.455 GB, free: 10.49 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.531, allocations: 0 / 1.455 GB, free: 10.49 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.5312, allocations: 91.81 kB / 1.456 GB, free: 10.4 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.532, allocations: 122.6 kB / 1.456 GB, free: 10.29 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.5352, allocations: 2.461 MB / 1.458 GB, free: 7.691 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.5357, allocations: 0.7558 MB / 1.459 GB, free: 6.91 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.5359, allocations: 61.91 kB / 1.459 GB, free: 6.848 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.536, allocations: 63.41 kB / 1.459 GB, free: 6.785 MB / 1.154 GB Notification: Performance of SimCode: time 4.01e-07/0.536, allocations: 0 / 1.459 GB, free: 6.785 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03664/0.5726, allocations: 7.114 MB / 1.466 GB, free: 15.88 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.37, allocations: 5.781 kB / 1.466 GB, free: 15.87 MB / 1.17 GB " [Timeout remaining time 288] (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: 17.848675640001602]