Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001398/0.001398, allocations: 104.8 kB / 16.45 MB, free: 6.5 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.002551/0.002551, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.911/2.911, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 176] 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.002194/0.002194, allocations: 64.19 kB / 1.112 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.871, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2669/1.138, allocations: 194 MB / 1.468 GB, free: 10.73 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01195/1.15, allocations: 5.702 MB / 1.473 GB, free: 5.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/1.152, allocations: 55.5 kB / 1.473 GB, free: 4.965 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002004/1.154, allocations: 0.5942 MB / 1.474 GB, free: 4.367 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005485/1.159, allocations: 1.665 MB / 1.476 GB, free: 2.695 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004091/1.163, allocations: 1.227 MB / 1.477 GB, free: 1.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004635/1.168, allocations: 2.508 MB / 1.479 GB, free: 14.96 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/1.17, allocations: 0.8364 MB / 1.48 GB, free: 14.11 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002746/1.173, allocations: 1.082 MB / 1.481 GB, free: 13.02 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/1.175, allocations: 0.8814 MB / 1.482 GB, free: 12.14 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000486/1.175, allocations: 104 kB / 1.482 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/1.18, allocations: 1.606 MB / 1.484 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008964/1.181, allocations: 0.4908 MB / 1.484 GB, free: 9.938 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/1.182, allocations: 0.6221 MB / 1.485 GB, free: 9.312 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/1.188, allocations: 2.114 MB / 1.487 GB, free: 7.191 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.188, allocations: 0 / 1.487 GB, free: 7.191 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.933e-06/1.188, allocations: 0 / 1.487 GB, free: 7.191 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.705e-05/1.188, allocations: 0 / 1.487 GB, free: 7.191 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004832/1.193, allocations: 1.506 MB / 1.488 GB, free: 5.629 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.193, allocations: 12.03 kB / 1.488 GB, free: 5.617 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004536/1.193, allocations: 151.1 kB / 1.488 GB, free: 5.461 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003561/1.197, allocations: 330.9 kB / 1.489 GB, free: 5.137 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00277/1.199, allocations: 0.8201 MB / 1.489 GB, free: 4.277 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.2, allocations: 62 kB / 1.49 GB, free: 4.215 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002909/1.2, allocations: 84 kB / 1.49 GB, free: 4.133 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/1.203, allocations: 1.078 MB / 1.491 GB, free: 3.016 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/1.203, allocations: 3.938 kB / 1.491 GB, free: 3.012 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/1.203, allocations: 36 kB / 1.491 GB, free: 2.977 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.991e-05/1.204, allocations: 34 kB / 1.491 GB, free: 2.941 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/1.206, allocations: 0.8275 MB / 1.492 GB, free: 2.117 MB / 1.186 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.009253/1.215, allocations: 4.271 MB / 1.496 GB, free: 13.57 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.216, allocations: 350.6 kB / 1.496 GB, free: 13.22 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/1.217, allocations: 208.8 kB / 1.496 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/1.217, allocations: 93.09 kB / 1.496 GB, free: 12.9 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/1.217, allocations: 42.56 kB / 1.496 GB, free: 12.85 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.795e-06/1.217, allocations: 0 / 1.496 GB, free: 12.85 MB / 1.201 GB Notification: Performance of matching and sorting (n=38): time 0.00399/1.221, allocations: 1.37 MB / 1.498 GB, free: 11.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.221, allocations: 55.41 kB / 1.498 GB, free: 11.36 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/1.224, allocations: 0.9966 MB / 1.499 GB, free: 10.34 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/1.224, allocations: 37.7 kB / 1.499 GB, free: 10.3 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006662/1.224, allocations: 0.4963 MB / 1.499 GB, free: 9.801 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/1.225, allocations: 146.7 kB / 1.499 GB, free: 9.656 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003241/1.225, allocations: 122.2 kB / 1.499 GB, free: 9.531 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.225, allocations: 330 kB / 1.5 GB, free: 9.203 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007876/1.226, allocations: 233.2 kB / 1.5 GB, free: 8.973 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/1.227, allocations: 426 kB / 1.5 GB, free: 8.484 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003991/1.231, allocations: 1.218 MB / 1.502 GB, free: 7.168 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/1.231, allocations: 4 kB / 1.502 GB, free: 7.164 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002695/1.234, allocations: 0.7661 MB / 1.502 GB, free: 6.391 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.234, allocations: 15.94 kB / 1.502 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/1.234, allocations: 7.938 kB / 1.502 GB, free: 6.367 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/1.234, allocations: 12 kB / 1.502 GB, free: 6.355 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/1.235, allocations: 139.8 kB / 1.503 GB, free: 6.219 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/1.235, allocations: 11.94 kB / 1.503 GB, free: 6.207 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.236, allocations: 63.88 kB / 1.503 GB, free: 6.145 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.237, allocations: 32 kB / 1.503 GB, free: 6.113 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0008298/1.237, allocations: 312.5 kB / 1.503 GB, free: 5.801 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/1.238, allocations: 103.4 kB / 1.503 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/1.238, allocations: 101 kB / 1.503 GB, free: 5.602 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.238, allocations: 8 kB / 1.503 GB, free: 5.594 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.238, allocations: 0 / 1.503 GB, free: 5.594 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/1.239, allocations: 0.6827 MB / 1.504 GB, free: 4.824 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/1.243, allocations: 1.584 MB / 1.505 GB, free: 3.137 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.243, allocations: 4 kB / 1.505 GB, free: 3.133 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/1.244, allocations: 79.89 kB / 1.505 GB, free: 3.055 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/1.244, allocations: 11.94 kB / 1.505 GB, free: 3.043 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.56e-05/1.244, allocations: 12 kB / 1.505 GB, free: 3.031 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/1.244, allocations: 11.94 kB / 1.505 GB, free: 3.02 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.244, allocations: 4 kB / 1.505 GB, free: 3.016 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/1.246, allocations: 0.8381 MB / 1.506 GB, free: 2.113 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/1.247, allocations: 244.5 kB / 1.507 GB, free: 1.855 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/1.247, allocations: 11.94 kB / 1.507 GB, free: 1.844 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/1.248, allocations: 46.97 kB / 1.507 GB, free: 1.801 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.163e-05/1.248, allocations: 35.84 kB / 1.507 GB, free: 1.766 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/1.248, allocations: 27.98 kB / 1.507 GB, free: 1.738 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001288/1.249, allocations: 0.7077 MB / 1.507 GB, free: 1.02 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.249, allocations: 0 / 1.507 GB, free: 1.02 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00101/1.25, allocations: 259.9 kB / 1.508 GB, free: 0.7656 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001911/1.252, allocations: 1.467 MB / 1.509 GB, free: 15.22 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001115/1.253, allocations: 0.4917 MB / 1.509 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.253, allocations: 0 / 1.509 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003066/1.254, allocations: 179.9 kB / 1.51 GB, free: 14.56 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.257, allocations: 0.6244 MB / 1.51 GB, free: 13.94 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/1.27, allocations: 7.629 MB / 1.518 GB, free: 5.93 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009774/1.27, allocations: 1.095 MB / 1.519 GB, free: 4.805 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009809/1.271, allocations: 256.4 kB / 1.519 GB, free: 4.551 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/1.272, allocations: 343.3 kB / 1.519 GB, free: 4.215 MB / 1.217 GB Notification: Performance of SimCode: time 8.81e-07/1.272, allocations: 0 / 1.519 GB, free: 4.215 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0711/1.343, allocations: 27.97 MB / 1.547 GB, free: 8.703 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.68, allocations: 9.812 kB / 1.547 GB, free: 8.695 MB / 1.248 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable volDyn.ports[1].m_flow in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable volDyn.ports[1].m_flow from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! Error: Could not read variable C_flow.y in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable C_flow.y from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! Error: Could not read variable volDyn.C[1] in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable volDyn.C[1] from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! Error: Could not read variable volSte.C[1] in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv. Warning: Get data of variable volSte.C[1] from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.032575760036707]