Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001377/0.001377, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.001769/0.001769, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.469/1.469, 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 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.777/2.777, allocations: 476.7 MB / 0.7672 GB, free: 5.215 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.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.002087/0.002087, allocations: 67.91 kB / 1.112 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9113/0.9134, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.06098/0.9744, allocations: 50.36 MB / 1.327 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.9975, allocations: 12.73 MB / 1.34 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/1.001, allocations: 107.1 kB / 1.34 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002775/1.004, allocations: 0.7877 MB / 1.341 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006683/1.01, allocations: 1.916 MB / 1.343 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/1.015, allocations: 1.363 MB / 1.344 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00584/1.021, allocations: 3.259 MB / 1.347 GB, free: 6.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/1.023, allocations: 1.047 MB / 1.348 GB, free: 5.602 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/1.027, allocations: 1.337 MB / 1.349 GB, free: 4.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/1.029, allocations: 0.9759 MB / 1.35 GB, free: 3.289 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002196/1.029, allocations: 96 kB / 1.351 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/1.031, allocations: 1.154 MB / 1.352 GB, free: 2.039 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000365/1.032, allocations: 310.6 kB / 1.352 GB, free: 1.734 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000878/1.033, allocations: 0.6761 MB / 1.353 GB, free: 1.055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003571/1.036, allocations: 2.063 MB / 1.355 GB, free: 14.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.036, allocations: 3.938 kB / 1.355 GB, free: 14.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.036, allocations: 0 / 1.355 GB, free: 14.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.175e-05/1.036, allocations: 4 kB / 1.355 GB, free: 14.97 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002973/1.039, allocations: 1.754 MB / 1.356 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.039, allocations: 8.031 kB / 1.356 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/1.039, allocations: 131.4 kB / 1.356 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007542/1.04, allocations: 227.9 kB / 1.357 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/1.042, allocations: 1.109 MB / 1.358 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/1.042, allocations: 74.11 kB / 1.358 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/1.043, allocations: 80 kB / 1.358 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.044, allocations: 1.003 MB / 1.359 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/1.045, allocations: 7.938 kB / 1.359 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/1.045, allocations: 36 kB / 1.359 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.112e-05/1.045, allocations: 24 kB / 1.359 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/1.046, allocations: 0.6477 MB / 1.36 GB, free: 9.684 MB / 1.061 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.006302/1.053, allocations: 4.733 MB / 1.364 GB, free: 4.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/1.054, allocations: 379.1 kB / 1.365 GB, free: 4.301 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/1.054, allocations: 200.7 kB / 1.365 GB, free: 4.102 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.056, allocations: 1.144 MB / 1.366 GB, free: 2.699 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.056, allocations: 42.56 kB / 1.366 GB, free: 2.648 MB / 1.061 GB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/1.056, allocations: 0 / 1.366 GB, free: 2.648 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.003231/1.059, allocations: 1.078 MB / 1.367 GB, free: 1.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/1.059, allocations: 59.34 kB / 1.367 GB, free: 1.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/1.06, allocations: 0.9755 MB / 1.368 GB, free: 452 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/1.06, allocations: 33.7 kB / 1.368 GB, free: 412 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/1.061, allocations: 0.6019 MB / 1.369 GB, free: 15.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/1.061, allocations: 115 kB / 1.369 GB, free: 15.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.061, allocations: 114.1 kB / 1.369 GB, free: 15.56 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.062, allocations: 322 kB / 1.369 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/1.062, allocations: 201 kB / 1.369 GB, free: 15.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007859/1.063, allocations: 418.2 kB / 1.37 GB, free: 14.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.064, allocations: 0.5939 MB / 1.37 GB, free: 13.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/1.064, allocations: 8 kB / 1.37 GB, free: 13.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001959/1.066, allocations: 0.7569 MB / 1.371 GB, free: 13.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.066, allocations: 8 kB / 1.371 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.066, allocations: 8 kB / 1.371 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008352/1.067, allocations: 166.7 kB / 1.371 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/1.068, allocations: 147.8 kB / 1.371 GB, free: 12.76 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/1.069, allocations: 1.708 MB / 1.373 GB, free: 10.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/1.07, allocations: 95.66 kB / 1.373 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/1.07, allocations: 28 kB / 1.373 GB, free: 10.85 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005582/1.071, allocations: 265.6 kB / 1.373 GB, free: 10.58 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.071, allocations: 119.2 kB / 1.374 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/1.073, allocations: 0.7164 MB / 1.374 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/1.073, allocations: 11.94 kB / 1.374 GB, free: 9.719 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.073, allocations: 4 kB / 1.374 GB, free: 9.715 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/1.073, allocations: 3.984 kB / 1.374 GB, free: 9.711 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/1.077, allocations: 1.629 MB / 1.376 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.077, allocations: 4 kB / 1.376 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/1.077, allocations: 87.84 kB / 1.376 GB, free: 7.914 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006432/1.078, allocations: 150.8 kB / 1.376 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/1.078, allocations: 8 kB / 1.376 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/1.079, allocations: 1.723 MB / 1.378 GB, free: 5.949 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.079, allocations: 3.938 kB / 1.378 GB, free: 5.945 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/1.081, allocations: 0.7769 MB / 1.379 GB, free: 5.125 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/1.082, allocations: 248.2 kB / 1.379 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/1.082, allocations: 8 kB / 1.379 GB, free: 4.855 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/1.083, allocations: 47.95 kB / 1.379 GB, free: 4.809 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.889e-05/1.083, allocations: 35.89 kB / 1.379 GB, free: 4.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/1.083, allocations: 19.98 kB / 1.379 GB, free: 4.754 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00121/1.084, allocations: 0.6619 MB / 1.38 GB, free: 4.086 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.084, allocations: 3.938 kB / 1.38 GB, free: 4.082 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00135/1.085, allocations: 382.9 kB / 1.38 GB, free: 3.707 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003056/1.088, allocations: 1.605 MB / 1.381 GB, free: 2.047 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001842/1.09, allocations: 0.5328 MB / 1.382 GB, free: 1.516 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.09, allocations: 0 / 1.382 GB, free: 1.516 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009287/1.091, allocations: 280.2 kB / 1.382 GB, free: 1.242 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/1.094, allocations: 0.5269 MB / 1.383 GB, free: 0.7305 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.108, allocations: 7.34 MB / 1.39 GB, free: 9.043 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.109, allocations: 1.103 MB / 1.391 GB, free: 7.914 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007997/1.11, allocations: 184.1 kB / 1.391 GB, free: 7.73 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006244/1.111, allocations: 419.3 kB / 1.392 GB, free: 7.324 MB / 1.092 GB Notification: Performance of SimCode: time 6.61e-07/1.111, allocations: 3.938 kB / 1.392 GB, free: 7.32 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07563/1.186, allocations: 29.63 MB / 1.421 GB, free: 10.14 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.9, allocations: 0 / 1.421 GB, free: 10.14 MB / 1.123 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable volLinSys.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv. Warning: Get data of variable volLinSys.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv failed! Error: Could not read variable volNonLinSys.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv. Warning: Get data of variable volNonLinSys.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv failed! Error: Could not read variable volQflow.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv. Warning: Get data of variable volQflow.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv failed! Error: Could not read variable volT.heatPort.Q_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv. Warning: Get data of variable volT.heatPort.Q_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.231683322926983]