Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001885/0.001885, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001692/0.001692, allocations: 210.8 kB / 22.24 MB, free: 5.262 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.156/3.156, allocations: 0.4892 GB / 0.7944 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="Buildings_12_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.002053/0.002053, allocations: 68.98 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1979/0.5482, allocations: 153.1 MB / 1.475 GB, free: 8.691 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003511/0.5517, allocations: 1.758 MB / 1.476 GB, free: 6.93 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.5521, allocations: 19.81 kB / 1.476 GB, free: 6.91 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008115/0.5529, allocations: 222.5 kB / 1.476 GB, free: 6.691 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.555, allocations: 0.7662 MB / 1.477 GB, free: 5.922 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.5572, allocations: 0.8557 MB / 1.478 GB, free: 5.066 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00118/0.5584, allocations: 0.8495 MB / 1.479 GB, free: 4.215 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004786/0.5589, allocations: 219.6 kB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.5603, allocations: 0.6034 MB / 1.48 GB, free: 3.391 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.5606, allocations: 258.9 kB / 1.48 GB, free: 3.137 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.406e-05/0.5607, allocations: 24 kB / 1.48 GB, free: 3.113 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.5626, allocations: 0.8882 MB / 1.481 GB, free: 2.223 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.5628, allocations: 131.5 kB / 1.481 GB, free: 2.094 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.563, allocations: 175.2 kB / 1.481 GB, free: 1.922 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.5644, allocations: 0.8722 MB / 1.482 GB, free: 1.047 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5644, allocations: 4 kB / 1.482 GB, free: 1.043 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5644, allocations: 3.938 kB / 1.482 GB, free: 1.039 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.5644, allocations: 0 / 1.482 GB, free: 1.039 MB / 1.17 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.00171/0.5661, allocations: 0.7146 MB / 1.483 GB, free: 300 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5662, allocations: 8.031 kB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.538e-05/0.5663, allocations: 62.55 kB / 1.483 GB, free: 220 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009891/0.5673, allocations: 175.5 kB / 1.483 GB, free: 44 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.568, allocations: 299.7 kB / 1.483 GB, free: 15.72 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.568, allocations: 20.66 kB / 1.483 GB, free: 15.7 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.5681, allocations: 28 kB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.5688, allocations: 399.5 kB / 1.484 GB, free: 15.26 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5688, allocations: 0 / 1.484 GB, free: 15.26 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.5688, allocations: 15.94 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.5688, allocations: 16.59 kB / 1.484 GB, free: 15.23 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.5695, allocations: 342.3 kB / 1.484 GB, free: 14.9 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.5716, allocations: 1.308 MB / 1.485 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.572, allocations: 218.7 kB / 1.485 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.5723, allocations: 131.2 kB / 1.486 GB, free: 13.17 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004455/0.5727, allocations: 75.91 kB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.5728, allocations: 38.56 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.5728, allocations: 0 / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.0009891/0.5738, allocations: 385.2 kB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.5738, allocations: 55.34 kB / 1.486 GB, free: 12.6 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.5743, allocations: 365.6 kB / 1.486 GB, free: 12.23 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.5743, allocations: 29.7 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.5745, allocations: 204.3 kB / 1.487 GB, free: 11.99 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.5745, allocations: 63.44 kB / 1.487 GB, free: 11.93 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.5746, allocations: 49.7 kB / 1.487 GB, free: 11.88 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5748, allocations: 346.7 kB / 1.487 GB, free: 11.53 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.575, allocations: 91.92 kB / 1.487 GB, free: 11.44 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.5753, allocations: 233 kB / 1.487 GB, free: 11.17 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.5758, allocations: 251.3 kB / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5758, allocations: 0 / 1.488 GB, free: 10.91 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005797/0.5763, allocations: 311.2 kB / 1.488 GB, free: 10.6 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.5764, allocations: 5.562 kB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5764, allocations: 0 / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5764, allocations: 4 kB / 1.488 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.5766, allocations: 51.84 kB / 1.488 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5766, allocations: 7.984 kB / 1.488 GB, free: 10.53 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.5769, allocations: 43.91 kB / 1.488 GB, free: 10.49 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/0.5769, allocations: 12 kB / 1.488 GB, free: 10.48 MB / 1.186 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.000171/0.5771, allocations: 169.6 kB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.5772, allocations: 35.81 kB / 1.488 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006425/0.5778, allocations: 300.8 kB / 1.489 GB, free: 9.961 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5778, allocations: 0 / 1.489 GB, free: 9.961 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5778, allocations: 4 kB / 1.489 GB, free: 9.957 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5778, allocations: 0 / 1.489 GB, free: 9.957 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.5793, allocations: 0.8341 MB / 1.489 GB, free: 9.039 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.5793, allocations: 4 kB / 1.489 GB, free: 9.035 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.5795, allocations: 48.25 kB / 1.489 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.5795, allocations: 4 kB / 1.489 GB, free: 8.984 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.5795, allocations: 11.98 kB / 1.489 GB, free: 8.973 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5795, allocations: 4 kB / 1.489 GB, free: 8.969 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5795, allocations: 4 kB / 1.489 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.5801, allocations: 453.8 kB / 1.49 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.5803, allocations: 55.78 kB / 1.49 GB, free: 8.418 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.5803, allocations: 8 kB / 1.49 GB, free: 8.41 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.5806, allocations: 15.98 kB / 1.49 GB, free: 8.395 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.5806, allocations: 27.84 kB / 1.49 GB, free: 8.367 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.5806, allocations: 8 kB / 1.49 GB, free: 8.359 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002916/0.5809, allocations: 259.2 kB / 1.49 GB, free: 8.113 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5809, allocations: 0 / 1.49 GB, free: 8.113 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004427/0.5814, allocations: 99.83 kB / 1.49 GB, free: 8.016 MB / 1.186 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.001162/0.5825, allocations: 1.035 MB / 1.491 GB, free: 6.918 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005509/0.5831, allocations: 243.9 kB / 1.492 GB, free: 6.68 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5831, allocations: 0 / 1.492 GB, free: 6.68 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.5834, allocations: 115.8 kB / 1.492 GB, free: 6.566 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5844, allocations: 217.8 kB / 1.492 GB, free: 6.355 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.5888, allocations: 3.301 MB / 1.495 GB, free: 2.871 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.589, allocations: 193.8 kB / 1.495 GB, free: 2.66 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003288/0.5894, allocations: 87.22 kB / 1.495 GB, free: 2.57 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.5895, allocations: 115.4 kB / 1.496 GB, free: 2.457 MB / 1.186 GB Notification: Performance of SimCode: time 1.173e-06/0.5895, allocations: 0 / 1.496 GB, free: 2.457 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/0.6308, allocations: 12.16 MB / 1.507 GB, free: 6.645 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.87, allocations: 11.12 kB / 1.507 GB, free: 6.637 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_FixedResistances_Validation_LosslessPipe.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemIn.T from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! Error: Could not read variable senTemOut.T in file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv. Warning: Get data of variable senTemOut.T from file Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.684919947292656]