Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5245, allocations: 151.6 MB / 1.017 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1755/0.7, allocations: 187.3 MB / 1.2 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01493/0.715, allocations: 13.06 MB / 1.213 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009886/0.716, allocations: 35.81 kB / 1.213 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.7174, allocations: 417.2 kB / 1.213 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.7215, allocations: 1.174 MB / 1.215 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.7234, allocations: 0.691 MB / 1.215 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00266/0.7261, allocations: 2.012 MB / 1.217 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.7273, allocations: 0.855 MB / 1.218 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.7309, allocations: 1.806 MB / 1.22 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.7324, allocations: 0.6616 MB / 1.221 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001908/0.7326, allocations: 80 kB / 1.221 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.7343, allocations: 0.8653 MB / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.7347, allocations: 387 kB / 1.222 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006013/0.7353, allocations: 0.4976 MB / 1.222 GB, free: 4 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001927/0.7372, allocations: 1.464 MB / 1.224 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7372, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7372, allocations: 11.94 kB / 1.224 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.677e-05/0.7373, allocations: 0 / 1.224 GB, free: 14.52 MB / 0.9825 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.001894/0.7392, allocations: 1.235 MB / 1.225 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.7392, allocations: 8.031 kB / 1.225 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.7394, allocations: 126.5 kB / 1.225 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.7406, allocations: 214.6 kB / 1.225 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009978/0.7416, allocations: 0.6403 MB / 1.226 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.7417, allocations: 62 kB / 1.226 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.7418, allocations: 76 kB / 1.226 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.7431, allocations: 0.9249 MB / 1.227 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.7431, allocations: 11.94 kB / 1.227 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.7432, allocations: 39.92 kB / 1.227 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.7432, allocations: 29.3 kB / 1.227 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009837/0.7442, allocations: 0.6138 MB / 1.228 GB, free: 10.36 MB / 0.9825 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.004206/0.7484, allocations: 4.605 MB / 1.232 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/0.7493, allocations: 0.5536 MB / 1.233 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.7496, allocations: 242.5 kB / 1.233 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.7498, allocations: 109.1 kB / 1.233 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.7498, allocations: 38.56 kB / 1.233 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 4.077e-06/0.7498, allocations: 0 / 1.233 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002583/0.7524, allocations: 1.599 MB / 1.235 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.7525, allocations: 110.8 kB / 1.235 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.7533, allocations: 0.7116 MB / 1.235 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.7533, allocations: 33.7 kB / 1.235 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.7536, allocations: 419.8 kB / 1.236 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.7538, allocations: 161.7 kB / 1.236 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.7539, allocations: 122.2 kB / 1.236 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.754, allocations: 326 kB / 1.236 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/0.7543, allocations: 189.2 kB / 1.237 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.7547, allocations: 417 kB / 1.237 GB, free: 196 kB / 0.9825 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.002149/0.7569, allocations: 1.18 MB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7569, allocations: 8 kB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009436/0.7578, allocations: 0.6756 MB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.7579, allocations: 9.406 kB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7579, allocations: 4 kB / 1.239 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.7579, allocations: 12 kB / 1.239 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.7584, allocations: 123.8 kB / 1.239 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.7584, allocations: 19.92 kB / 1.239 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.7589, allocations: 34.61 kB / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.759, allocations: 27.98 kB / 1.239 GB, free: 13.99 MB / 0.9981 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.0003087/0.7593, allocations: 277.7 kB / 1.239 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.7594, allocations: 86.91 kB / 1.239 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.7596, allocations: 91.67 kB / 1.239 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.7596, allocations: 4 kB / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7596, allocations: 0 / 1.239 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006451/0.7603, allocations: 0.6988 MB / 1.24 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.7625, allocations: 1.638 MB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.7625, allocations: 4 kB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.763, allocations: 99.83 kB / 1.242 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.763, allocations: 4 kB / 1.242 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.763, allocations: 16.5 kB / 1.242 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.763, allocations: 11.94 kB / 1.242 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.763, allocations: 8 kB / 1.242 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.764, allocations: 0.8691 MB / 1.243 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.7643, allocations: 208 kB / 1.243 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7644, allocations: 16.08 kB / 1.243 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.7649, allocations: 17.53 kB / 1.243 GB, free: 9.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.7649, allocations: 43.81 kB / 1.243 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.765, allocations: 24 kB / 1.243 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005559/0.7655, allocations: 0.5107 MB / 1.244 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7656, allocations: 0 / 1.244 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006626/0.7662, allocations: 204 kB / 1.244 GB, free: 8.895 MB / 0.9981 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.001596/0.7678, allocations: 1.492 MB / 1.245 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008349/0.7687, allocations: 0.5128 MB / 1.246 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.7687, allocations: 0 / 1.246 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.769, allocations: 220.2 kB / 1.246 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.7711, allocations: 486.2 kB / 1.246 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3964/1.167, allocations: 6.91 MB / 1.253 GB, free: 233.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/1.168, allocations: 1.028 MB / 1.254 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008539/1.169, allocations: 196.3 kB / 1.254 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/1.169, allocations: 303.6 kB / 1.255 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.169, allocations: 0.5625 kB / 1.255 GB, free: 232.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/1.219, allocations: 22.04 MB / 1.276 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/9.005, allocations: 9.625 kB / 1.276 GB, free: 226.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches