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.00188/0.00188, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001685/0.001685, allocations: 213.1 kB / 22.24 MB, free: 4.848 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.479/1.479, 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 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.735/2.735, allocations: 476 MB / 0.7699 GB, free: 4.707 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.002136/0.002136, allocations: 71.45 kB / 1.117 GB, free: 41.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1796/0.5217, allocations: 142.2 MB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002502/0.5242, allocations: 0.9314 MB / 1.422 GB, free: 12.79 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.5244, allocations: 11.94 kB / 1.422 GB, free: 12.78 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006885/0.5251, allocations: 155 kB / 1.422 GB, free: 12.63 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.5269, allocations: 0.6536 MB / 1.423 GB, free: 11.97 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006008/0.5275, allocations: 226.1 kB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006486/0.5281, allocations: 0.5342 MB / 1.424 GB, free: 11.21 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002959/0.5284, allocations: 124.5 kB / 1.424 GB, free: 11.09 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004326/0.5289, allocations: 243.1 kB / 1.424 GB, free: 10.85 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.5291, allocations: 163.3 kB / 1.424 GB, free: 10.69 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.5291, allocations: 16 kB / 1.424 GB, free: 10.68 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008637/0.53, allocations: 478.5 kB / 1.425 GB, free: 10.21 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.5301, allocations: 79.73 kB / 1.425 GB, free: 10.13 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.5302, allocations: 99.52 kB / 1.425 GB, free: 10.03 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.531, allocations: 474.4 kB / 1.425 GB, free: 9.566 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.531, allocations: 4 kB / 1.425 GB, free: 9.562 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.432e-06/0.531, allocations: 0 / 1.425 GB, free: 9.562 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.531, allocations: 0 / 1.425 GB, free: 9.562 MB / 1.123 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.00136/0.5324, allocations: 0.5259 MB / 1.426 GB, free: 9.008 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5324, allocations: 12.03 kB / 1.426 GB, free: 8.996 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.5325, allocations: 50.55 kB / 1.426 GB, free: 8.938 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.5327, allocations: 47.83 kB / 1.426 GB, free: 8.891 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.5332, allocations: 232.4 kB / 1.426 GB, free: 8.637 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.5332, allocations: 8.328 kB / 1.426 GB, free: 8.629 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.5332, allocations: 16 kB / 1.426 GB, free: 8.613 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.5338, allocations: 251.1 kB / 1.427 GB, free: 8.363 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5338, allocations: 0 / 1.427 GB, free: 8.363 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.5338, allocations: 4 kB / 1.427 GB, free: 8.359 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.5338, allocations: 8 kB / 1.427 GB, free: 8.352 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.5344, allocations: 255.6 kB / 1.427 GB, free: 8.102 MB / 1.123 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.001279/0.5357, allocations: 0.697 MB / 1.427 GB, free: 7.355 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.536, allocations: 139.6 kB / 1.428 GB, free: 7.211 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.5362, allocations: 104.8 kB / 1.428 GB, free: 7.105 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.5364, allocations: 35.97 kB / 1.428 GB, free: 7.07 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.5364, allocations: 38.5 kB / 1.428 GB, free: 7.023 MB / 1.123 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.5364, allocations: 0 / 1.428 GB, free: 7.023 MB / 1.123 GB Notification: Performance of matching and sorting (n=14): time 0.0008471/0.5373, allocations: 298.9 kB / 1.428 GB, free: 6.727 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.5373, allocations: 55.41 kB / 1.428 GB, free: 6.66 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.5376, allocations: 245.1 kB / 1.428 GB, free: 6.414 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.5376, allocations: 25.7 kB / 1.428 GB, free: 6.383 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.5377, allocations: 136.3 kB / 1.428 GB, free: 6.246 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.934e-05/0.5377, allocations: 55.53 kB / 1.429 GB, free: 6.191 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-05/0.5378, allocations: 41.64 kB / 1.429 GB, free: 6.145 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.538, allocations: 330.8 kB / 1.429 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.5381, allocations: 67.88 kB / 1.429 GB, free: 5.746 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.5384, allocations: 183.6 kB / 1.429 GB, free: 5.539 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.5387, allocations: 166.5 kB / 1.429 GB, free: 5.367 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5387, allocations: 0 / 1.429 GB, free: 5.367 MB / 1.123 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004437/0.5392, allocations: 212.4 kB / 1.43 GB, free: 5.156 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5392, allocations: 18.06 kB / 1.43 GB, free: 5.141 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5392, allocations: 0 / 1.43 GB, free: 5.141 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5392, allocations: 0 / 1.43 GB, free: 5.141 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.5394, allocations: 35.92 kB / 1.43 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5394, allocations: 0 / 1.43 GB, free: 5.105 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.5396, allocations: 27.94 kB / 1.43 GB, free: 5.078 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5396, allocations: 15.98 kB / 1.43 GB, free: 5.062 MB / 1.123 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.0001392/0.5397, allocations: 141.8 kB / 1.43 GB, free: 4.914 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.547e-05/0.5398, allocations: 23.8 kB / 1.43 GB, free: 4.891 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.69e-05/0.5399, allocations: 37.8 kB / 1.43 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5399, allocations: 0 / 1.43 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5399, allocations: 0 / 1.43 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5399, allocations: 0 / 1.43 GB, free: 4.855 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5409, allocations: 0.6358 MB / 1.43 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5409, allocations: 0 / 1.43 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.5411, allocations: 39.91 kB / 1.43 GB, free: 4.109 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5411, allocations: 0 / 1.43 GB, free: 4.109 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.5411, allocations: 4 kB / 1.43 GB, free: 4.105 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5411, allocations: 4.219 kB / 1.43 GB, free: 4.102 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5411, allocations: 4 kB / 1.43 GB, free: 4.098 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.5416, allocations: 353.2 kB / 1.431 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.5417, allocations: 35.84 kB / 1.431 GB, free: 3.68 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.5418, allocations: 11.98 kB / 1.431 GB, free: 3.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.5419, allocations: 4 kB / 1.431 GB, free: 3.664 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.542, allocations: 23.91 kB / 1.431 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.542, allocations: 7.938 kB / 1.431 GB, free: 3.633 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.000161/0.5422, allocations: 184.5 kB / 1.431 GB, free: 3.453 MB / 1.123 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5422, allocations: 0 / 1.431 GB, free: 3.453 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003421/0.5425, allocations: 55.94 kB / 1.431 GB, free: 3.398 MB / 1.123 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.0009498/0.5434, allocations: 0.9249 MB / 1.432 GB, free: 2.422 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004367/0.5439, allocations: 163.8 kB / 1.432 GB, free: 2.262 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5439, allocations: 0 / 1.432 GB, free: 2.262 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.5441, allocations: 103.9 kB / 1.432 GB, free: 2.16 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.5448, allocations: 130.1 kB / 1.432 GB, free: 2.039 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.548, allocations: 2.458 MB / 1.435 GB, free: 15.45 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.5481, allocations: 145.6 kB / 1.435 GB, free: 15.29 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.5483, allocations: 61.89 kB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.5485, allocations: 67.41 kB / 1.435 GB, free: 15.16 MB / 1.139 GB Notification: Performance of SimCode: time 4.1e-07/0.5485, allocations: 0 / 1.435 GB, free: 15.16 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.5833, allocations: 7.863 MB / 1.443 GB, free: 7.551 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.85, allocations: 3.938 kB / 1.443 GB, free: 7.547 MB / 1.139 GB " [Timeout remaining time 287] (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: 18.57441125391051]