Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001801/0.001801, allocations: 108.9 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.00214/0.00214, allocations: 216.2 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 9.09 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.916/2.916, allocations: 476.7 MB / 0.7672 GB, free: 5.207 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.0021/0.0021, allocations: 75.88 kB / 1.112 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9468, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2359/1.183, allocations: 190.9 MB / 1.465 GB, free: 13.79 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01799/1.201, allocations: 13.14 MB / 1.478 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/1.202, allocations: 51.62 kB / 1.478 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/1.204, allocations: 441.1 kB / 1.478 GB, free: 132 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003517/1.207, allocations: 1.198 MB / 1.479 GB, free: 14.93 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002127/1.209, allocations: 0.71 MB / 1.48 GB, free: 14.22 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003326/1.213, allocations: 2.012 MB / 1.482 GB, free: 12.2 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/1.214, allocations: 0.695 MB / 1.483 GB, free: 11.48 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004463/1.218, allocations: 1.895 MB / 1.484 GB, free: 9.578 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/1.22, allocations: 0.7028 MB / 1.485 GB, free: 8.879 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/1.22, allocations: 80 kB / 1.485 GB, free: 8.801 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/1.222, allocations: 0.9314 MB / 1.486 GB, free: 7.867 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004569/1.223, allocations: 390.9 kB / 1.486 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005939/1.223, allocations: 0.4976 MB / 1.487 GB, free: 6.984 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/1.226, allocations: 1.502 MB / 1.488 GB, free: 5.477 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.226, allocations: 0 / 1.488 GB, free: 5.477 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.814e-06/1.226, allocations: 0 / 1.488 GB, free: 5.477 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.612e-05/1.226, allocations: 4 kB / 1.488 GB, free: 5.473 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002024/1.228, allocations: 1.261 MB / 1.49 GB, free: 4.16 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/1.228, allocations: 8.031 kB / 1.49 GB, free: 4.152 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/1.228, allocations: 130.5 kB / 1.49 GB, free: 4.016 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/1.229, allocations: 223.1 kB / 1.49 GB, free: 3.797 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/1.23, allocations: 0.6877 MB / 1.491 GB, free: 3.066 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/1.231, allocations: 58 kB / 1.491 GB, free: 3.012 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.231, allocations: 83.95 kB / 1.491 GB, free: 2.93 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.232, allocations: 0.9309 MB / 1.492 GB, free: 1.914 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/1.232, allocations: 4 kB / 1.492 GB, free: 1.91 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/1.232, allocations: 35.94 kB / 1.492 GB, free: 1.875 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/1.232, allocations: 29.31 kB / 1.492 GB, free: 1.848 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/1.233, allocations: 0.6216 MB / 1.492 GB, free: 1.223 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.005301/1.239, allocations: 4.579 MB / 1.497 GB, free: 12.35 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009536/1.24, allocations: 0.5324 MB / 1.497 GB, free: 11.78 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/1.24, allocations: 237 kB / 1.498 GB, free: 11.54 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/1.24, allocations: 105 kB / 1.498 GB, free: 11.42 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/1.24, allocations: 42.56 kB / 1.498 GB, free: 11.37 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.014e-06/1.24, allocations: 0 / 1.498 GB, free: 11.37 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.003147/1.243, allocations: 1.621 MB / 1.499 GB, free: 9.691 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/1.244, allocations: 107.1 kB / 1.499 GB, free: 9.562 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/1.244, allocations: 0.7194 MB / 1.5 GB, free: 8.836 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/1.245, allocations: 37.7 kB / 1.5 GB, free: 8.793 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003709/1.245, allocations: 424.5 kB / 1.501 GB, free: 8.371 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/1.245, allocations: 166.5 kB / 1.501 GB, free: 8.207 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/1.245, allocations: 118.3 kB / 1.501 GB, free: 8.082 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001731/1.245, allocations: 330 kB / 1.501 GB, free: 7.754 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/1.246, allocations: 189.2 kB / 1.501 GB, free: 7.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/1.246, allocations: 421 kB / 1.502 GB, free: 7.062 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/1.249, allocations: 1.182 MB / 1.503 GB, free: 5.777 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.249, allocations: 0 / 1.503 GB, free: 5.777 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001125/1.25, allocations: 0.6758 MB / 1.503 GB, free: 5.094 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.25, allocations: 8 kB / 1.504 GB, free: 5.086 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.25, allocations: 8.781 kB / 1.504 GB, free: 5.078 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/1.25, allocations: 8 kB / 1.504 GB, free: 5.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/1.251, allocations: 127.8 kB / 1.504 GB, free: 4.945 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/1.251, allocations: 15.94 kB / 1.504 GB, free: 4.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/1.251, allocations: 23.98 kB / 1.504 GB, free: 4.906 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.094e-05/1.251, allocations: 28 kB / 1.504 GB, free: 4.879 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0005671/1.252, allocations: 277.5 kB / 1.504 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/1.252, allocations: 95.38 kB / 1.504 GB, free: 4.504 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/1.252, allocations: 87.66 kB / 1.504 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.252, allocations: 4 kB / 1.504 GB, free: 4.414 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/1.252, allocations: 4 kB / 1.504 GB, free: 4.41 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009057/1.253, allocations: 0.7066 MB / 1.505 GB, free: 3.617 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/1.256, allocations: 1.636 MB / 1.506 GB, free: 1.875 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.256, allocations: 12.03 kB / 1.506 GB, free: 1.863 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/1.257, allocations: 99.83 kB / 1.507 GB, free: 1.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/1.257, allocations: 8 kB / 1.507 GB, free: 1.758 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/1.257, allocations: 16 kB / 1.507 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/1.257, allocations: 11.98 kB / 1.507 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.257, allocations: 4 kB / 1.507 GB, free: 1.727 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.258, allocations: 0.8694 MB / 1.507 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/1.258, allocations: 212.5 kB / 1.508 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.258, allocations: 16 kB / 1.508 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/1.259, allocations: 19.98 kB / 1.508 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/1.259, allocations: 39.91 kB / 1.508 GB, free: 500 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/1.259, allocations: 19.92 kB / 1.508 GB, free: 480 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007387/1.26, allocations: 0.5107 MB / 1.508 GB, free: 15.96 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.26, allocations: 0 / 1.508 GB, free: 15.96 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007832/1.261, allocations: 203.9 kB / 1.508 GB, free: 15.76 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001939/1.262, allocations: 1.5 MB / 1.51 GB, free: 14.2 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008891/1.263, allocations: 460.9 kB / 1.51 GB, free: 13.75 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.263, allocations: 4.125 kB / 1.51 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/1.264, allocations: 203.7 kB / 1.511 GB, free: 13.54 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/1.266, allocations: 477.6 kB / 1.511 GB, free: 13.09 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.277, allocations: 6.639 MB / 1.517 GB, free: 6.051 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/1.278, allocations: 1.02 MB / 1.518 GB, free: 5.004 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008194/1.279, allocations: 203 kB / 1.519 GB, free: 4.801 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/1.28, allocations: 303.3 kB / 1.519 GB, free: 4.504 MB / 1.217 GB Notification: Performance of SimCode: time 1.132e-06/1.28, allocations: 0 / 1.519 GB, free: 4.504 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06448/1.344, allocations: 22.3 MB / 1.541 GB, free: 14.62 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.809/11.15, allocations: 6.5 kB / 1.541 GB, free: 14.62 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senTraSubIn.C in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv. Warning: Get data of variable senTraSubIn.C from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv failed! Error: Could not read variable senTraSubOut.C in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv. Warning: Get data of variable senTraSubOut.C from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv failed! Error: Could not read variable cheConMas.y in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv. Warning: Get data of variable cheConMas.y from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.5626890338026]