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.001421/0.001421, 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.00159/0.00159, allocations: 217.9 kB / 22.26 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.004 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.197/3.197, allocations: 0.49 GB / 0.7951 GB, free: 33.54 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.002009/0.002009, allocations: 65.88 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3779, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2146/0.5925, allocations: 177.1 MB / 1.499 GB, free: 220 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003687/0.5962, allocations: 1.848 MB / 1.501 GB, free: 14.36 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005145/0.5967, allocations: 27.81 kB / 1.501 GB, free: 14.34 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.5975, allocations: 226.5 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.5996, allocations: 0.7856 MB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.6017, allocations: 0.8913 MB / 1.503 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001303/0.603, allocations: 0.8612 MB / 1.503 GB, free: 11.57 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004606/0.6035, allocations: 231.6 kB / 1.504 GB, free: 11.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.6048, allocations: 0.5839 MB / 1.504 GB, free: 10.75 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.6052, allocations: 286.8 kB / 1.504 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.718e-05/0.6053, allocations: 28 kB / 1.504 GB, free: 10.45 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.6075, allocations: 1.185 MB / 1.506 GB, free: 9.258 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.6076, allocations: 127.6 kB / 1.506 GB, free: 9.133 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002336/0.6079, allocations: 199 kB / 1.506 GB, free: 8.938 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.6094, allocations: 0.919 MB / 1.507 GB, free: 8.016 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6094, allocations: 4 kB / 1.507 GB, free: 8.012 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6094, allocations: 0 / 1.507 GB, free: 8.012 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.6094, allocations: 0 / 1.507 GB, free: 8.012 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.001761/0.6112, allocations: 0.7145 MB / 1.508 GB, free: 7.266 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6112, allocations: 12.03 kB / 1.508 GB, free: 7.254 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.963e-05/0.6113, allocations: 66.53 kB / 1.508 GB, free: 7.18 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.6123, allocations: 171.5 kB / 1.508 GB, free: 7.012 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.613, allocations: 303.6 kB / 1.508 GB, free: 6.688 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.613, allocations: 20.66 kB / 1.508 GB, free: 6.668 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.6131, allocations: 28 kB / 1.508 GB, free: 6.641 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/0.6138, allocations: 395.5 kB / 1.508 GB, free: 6.23 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6138, allocations: 0 / 1.508 GB, free: 6.23 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.6138, allocations: 12 kB / 1.508 GB, free: 6.219 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.6138, allocations: 20.53 kB / 1.509 GB, free: 6.199 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.6146, allocations: 346.3 kB / 1.509 GB, free: 5.863 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.6168, allocations: 1.746 MB / 1.511 GB, free: 3.953 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.6173, allocations: 224.1 kB / 1.511 GB, free: 3.727 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.6176, allocations: 140.8 kB / 1.511 GB, free: 3.586 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/0.618, allocations: 63.92 kB / 1.511 GB, free: 3.523 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.618, allocations: 42.48 kB / 1.511 GB, free: 3.473 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.618, allocations: 0 / 1.511 GB, free: 3.473 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.0009832/0.619, allocations: 386.4 kB / 1.511 GB, free: 3.09 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.6191, allocations: 55.41 kB / 1.511 GB, free: 3.023 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.6195, allocations: 357.7 kB / 1.512 GB, free: 2.664 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.6195, allocations: 29.7 kB / 1.512 GB, free: 2.629 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.6197, allocations: 196.3 kB / 1.512 GB, free: 2.434 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.6197, allocations: 79.36 kB / 1.512 GB, free: 2.355 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.555e-05/0.6198, allocations: 49.7 kB / 1.512 GB, free: 2.301 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.62, allocations: 346.7 kB / 1.512 GB, free: 1.953 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.6202, allocations: 95.92 kB / 1.513 GB, free: 1.859 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.6205, allocations: 151.8 kB / 1.513 GB, free: 1.691 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.621, allocations: 255.8 kB / 1.513 GB, free: 1.422 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.621, allocations: 0 / 1.513 GB, free: 1.422 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005958/0.6215, allocations: 305.1 kB / 1.513 GB, free: 1.117 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6216, allocations: 4 kB / 1.513 GB, free: 1.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6216, allocations: 4 kB / 1.513 GB, free: 1.109 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6216, allocations: 4.188 kB / 1.513 GB, free: 1.105 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.6218, allocations: 47.97 kB / 1.513 GB, free: 1.059 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6219, allocations: 7.875 kB / 1.513 GB, free: 1.051 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002472/0.6221, allocations: 35.77 kB / 1.513 GB, free: 1.016 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.6221, allocations: 15.98 kB / 1.513 GB, free: 1 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.000193/0.6223, allocations: 165.8 kB / 1.513 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.6224, allocations: 35.81 kB / 1.513 GB, free: 0.793 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.623, allocations: 310.3 kB / 1.514 GB, free: 492 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.623, allocations: 4 kB / 1.514 GB, free: 488 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.623, allocations: 0 / 1.514 GB, free: 488 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.623, allocations: 0 / 1.514 GB, free: 488 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.6245, allocations: 0.8652 MB / 1.515 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6245, allocations: 352 / 1.515 GB, free: 15.53 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.6247, allocations: 48 kB / 1.515 GB, free: 15.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6247, allocations: 7.938 kB / 1.515 GB, free: 15.47 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.6247, allocations: 8 kB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.6247, allocations: 7.938 kB / 1.515 GB, free: 15.46 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6247, allocations: 4 kB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006307/0.6254, allocations: 450.2 kB / 1.515 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.6255, allocations: 67.67 kB / 1.515 GB, free: 14.9 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.12e-05/0.6255, allocations: 7.984 kB / 1.515 GB, free: 14.89 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.6258, allocations: 12 kB / 1.515 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.61e-05/0.6258, allocations: 27.84 kB / 1.515 GB, free: 14.85 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.6259, allocations: 4 kB / 1.515 GB, free: 14.85 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003017/0.6262, allocations: 263.2 kB / 1.516 GB, free: 14.6 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6262, allocations: 0 / 1.516 GB, free: 14.6 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004441/0.6266, allocations: 99.88 kB / 1.516 GB, free: 14.5 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.001137/0.6278, allocations: 1.041 MB / 1.517 GB, free: 13.39 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0006498/0.6284, allocations: 229.6 kB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6284, allocations: 3.938 kB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.6287, allocations: 123.7 kB / 1.517 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6298, allocations: 215.5 kB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.6343, allocations: 3.3 MB / 1.52 GB, free: 9.359 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.6348, allocations: 0.8035 MB / 1.521 GB, free: 8.527 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003148/0.6351, allocations: 91.22 kB / 1.521 GB, free: 8.438 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.6353, allocations: 115.4 kB / 1.521 GB, free: 8.324 MB / 1.217 GB Notification: Performance of SimCode: time 4.31e-07/0.6353, allocations: 0 / 1.521 GB, free: 8.324 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04229/0.6776, allocations: 11.06 MB / 1.532 GB, free: 13.53 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.48, allocations: 3.938 kB / 1.532 GB, free: 13.53 MB / 1.232 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.392813189000663]