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.001986/0.001986, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002506/0.002506, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.201/3.201, allocations: 0.49 GB / 0.7916 GB, free: 33.61 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.001956/0.001956, allocations: 68.05 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3263, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2095/0.5358, allocations: 176.9 MB / 1.494 GB, free: 1.801 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.5392, allocations: 1.85 MB / 1.495 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004026/0.5396, allocations: 23.75 kB / 1.495 GB, free: 15.93 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007516/0.5404, allocations: 230.5 kB / 1.496 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.5423, allocations: 0.77 MB / 1.496 GB, free: 14.93 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.5443, allocations: 0.8613 MB / 1.497 GB, free: 14.06 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.5454, allocations: 0.8417 MB / 1.498 GB, free: 13.22 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.5458, allocations: 251 kB / 1.498 GB, free: 12.97 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.5469, allocations: 0.5878 MB / 1.499 GB, free: 12.38 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.5473, allocations: 278.8 kB / 1.499 GB, free: 12.11 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.5473, allocations: 28 kB / 1.499 GB, free: 12.08 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.5492, allocations: 1.157 MB / 1.5 GB, free: 10.92 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.5494, allocations: 131.5 kB / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.5496, allocations: 191 kB / 1.501 GB, free: 10.6 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.5509, allocations: 0.9229 MB / 1.501 GB, free: 9.676 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.5509, allocations: 0 / 1.501 GB, free: 9.676 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5509, allocations: 0 / 1.501 GB, free: 9.676 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5509, allocations: 0 / 1.501 GB, free: 9.676 MB / 1.201 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.001752/0.5527, allocations: 0.8014 MB / 1.502 GB, free: 8.824 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5527, allocations: 11.98 kB / 1.502 GB, free: 8.812 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.139e-05/0.5528, allocations: 66.53 kB / 1.502 GB, free: 8.738 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.5538, allocations: 159.5 kB / 1.502 GB, free: 8.582 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.5545, allocations: 370.2 kB / 1.503 GB, free: 8.176 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.5545, allocations: 20.56 kB / 1.503 GB, free: 8.156 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.5546, allocations: 28 kB / 1.503 GB, free: 8.129 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.5553, allocations: 394.1 kB / 1.503 GB, free: 7.727 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5553, allocations: 0 / 1.503 GB, free: 7.727 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.5554, allocations: 19.92 kB / 1.503 GB, free: 7.707 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.5554, allocations: 12.5 kB / 1.503 GB, free: 7.695 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.5561, allocations: 350 kB / 1.504 GB, free: 7.348 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.5584, allocations: 1.777 MB / 1.505 GB, free: 5.402 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.559, allocations: 372.8 kB / 1.506 GB, free: 4.992 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.5593, allocations: 129.8 kB / 1.506 GB, free: 4.863 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005862/0.5599, allocations: 303.2 kB / 1.506 GB, free: 4.512 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.5599, allocations: 46.48 kB / 1.506 GB, free: 4.457 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.5599, allocations: 0 / 1.506 GB, free: 4.457 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001032/0.561, allocations: 382.4 kB / 1.506 GB, free: 4.078 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.561, allocations: 55.41 kB / 1.507 GB, free: 4.012 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.5614, allocations: 357.7 kB / 1.507 GB, free: 3.652 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.5615, allocations: 29.7 kB / 1.507 GB, free: 3.617 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.5617, allocations: 196.4 kB / 1.507 GB, free: 3.422 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.5617, allocations: 75.31 kB / 1.507 GB, free: 3.348 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.5618, allocations: 53.64 kB / 1.507 GB, free: 3.289 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.562, allocations: 350.7 kB / 1.508 GB, free: 2.938 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.5622, allocations: 91.92 kB / 1.508 GB, free: 2.848 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.5625, allocations: 155.6 kB / 1.508 GB, free: 2.676 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.563, allocations: 251.5 kB / 1.508 GB, free: 2.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.563, allocations: 4 kB / 1.508 GB, free: 2.406 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006228/0.5636, allocations: 307.4 kB / 1.508 GB, free: 2.102 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.5636, allocations: 10.34 kB / 1.508 GB, free: 2.094 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5636, allocations: 0 / 1.508 GB, free: 2.094 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5637, allocations: 4 kB / 1.508 GB, free: 2.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.5639, allocations: 47.91 kB / 1.508 GB, free: 2.043 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.5639, allocations: 12.12 kB / 1.508 GB, free: 2.031 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.5642, allocations: 35.77 kB / 1.508 GB, free: 1.996 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.5642, allocations: 11.98 kB / 1.508 GB, free: 1.984 MB / 1.201 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.0001715/0.5644, allocations: 157.8 kB / 1.509 GB, free: 1.82 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.5645, allocations: 39.77 kB / 1.509 GB, free: 1.781 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007076/0.5652, allocations: 300.9 kB / 1.509 GB, free: 1.484 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5652, allocations: 4 kB / 1.509 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5652, allocations: 0 / 1.509 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5652, allocations: 0 / 1.509 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.5666, allocations: 0.8974 MB / 1.51 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5666, allocations: 4 kB / 1.51 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.5668, allocations: 39.91 kB / 1.51 GB, free: 460 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5668, allocations: 4.344 kB / 1.51 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5668, allocations: 8 kB / 1.51 GB, free: 448 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.5668, allocations: 7.984 kB / 1.51 GB, free: 440 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5668, allocations: 7.938 kB / 1.51 GB, free: 432 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.5675, allocations: 450.4 kB / 1.51 GB, free: 15.93 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.5676, allocations: 140.8 kB / 1.51 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.5677, allocations: 8 kB / 1.51 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.5679, allocations: 15.98 kB / 1.51 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.568, allocations: 19.86 kB / 1.51 GB, free: 15.73 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.568, allocations: 12 kB / 1.51 GB, free: 15.72 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002909/0.5683, allocations: 259.1 kB / 1.511 GB, free: 15.47 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5683, allocations: 4.094 kB / 1.511 GB, free: 15.47 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004379/0.5687, allocations: 99.83 kB / 1.511 GB, free: 15.37 MB / 1.217 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.001143/0.5699, allocations: 1.038 MB / 1.512 GB, free: 14.27 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.5705, allocations: 229.3 kB / 1.512 GB, free: 14.05 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5705, allocations: 4.375 kB / 1.512 GB, free: 14.04 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.5707, allocations: 127.7 kB / 1.512 GB, free: 13.92 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5718, allocations: 219.2 kB / 1.512 GB, free: 13.71 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004531/0.5764, allocations: 3.311 MB / 1.516 GB, free: 10.22 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.5768, allocations: 0.7996 MB / 1.516 GB, free: 9.391 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003079/0.5771, allocations: 91.22 kB / 1.516 GB, free: 9.301 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.5773, allocations: 115.4 kB / 1.517 GB, free: 9.188 MB / 1.217 GB Notification: Performance of SimCode: time 5.41e-07/0.5773, allocations: 0 / 1.517 GB, free: 9.188 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.6173, allocations: 10.83 MB / 1.527 GB, free: 14.58 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/9.123, allocations: 8.375 kB / 1.527 GB, free: 14.58 MB / 1.232 GB " [Timeout remaining time 291] (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: 15.802770547103137]