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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007877/0.0007877, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007615/0.007615, allocations: 172.6 kB / 16.27 MB, free: 6.648 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.452/2.452, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 8 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6415, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1792/0.8208, allocations: 182.6 MB / 1.201 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.8354, allocations: 12.96 MB / 1.214 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.8365, allocations: 27.81 kB / 1.214 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.8377, allocations: 342 kB / 1.214 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003046/0.8408, allocations: 1.089 MB / 1.216 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.843, allocations: 0.6271 MB / 1.216 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003706/0.8467, allocations: 2.78 MB / 1.219 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.8482, allocations: 0.7024 MB / 1.22 GB, free: 6 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.8522, allocations: 1.623 MB / 1.221 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.8539, allocations: 0.6582 MB / 1.222 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.8541, allocations: 35.94 kB / 1.222 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.8559, allocations: 0.9702 MB / 1.223 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.8564, allocations: 339 kB / 1.223 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007244/0.8571, allocations: 471.3 kB / 1.224 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.8592, allocations: 1.472 MB / 1.225 GB, free: 440 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8592, allocations: 0 / 1.225 GB, free: 440 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8592, allocations: 0 / 1.225 GB, free: 440 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.893e-05/0.8592, allocations: 0 / 1.225 GB, free: 440 kB / 0.9669 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.001779/0.861, allocations: 1.052 MB / 1.226 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.8611, allocations: 8.031 kB / 1.226 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/0.8613, allocations: 126.5 kB / 1.226 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.8625, allocations: 218.6 kB / 1.226 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009465/0.8634, allocations: 0.6441 MB / 1.227 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.8635, allocations: 58 kB / 1.227 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.8636, allocations: 80 kB / 1.227 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.8648, allocations: 0.9366 MB / 1.228 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.8649, allocations: 11.88 kB / 1.228 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.8649, allocations: 32 kB / 1.228 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.865, allocations: 29.31 kB / 1.228 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.8659, allocations: 0.6099 MB / 1.229 GB, free: 12.45 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.003788/0.8697, allocations: 4.601 MB / 1.233 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/0.8704, allocations: 0.5453 MB / 1.234 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.8707, allocations: 248.1 kB / 1.234 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.8709, allocations: 101.1 kB / 1.234 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.8709, allocations: 42.5 kB / 1.234 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.8709, allocations: 3.938 kB / 1.234 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.002479/0.8734, allocations: 1.589 MB / 1.236 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.8735, allocations: 106.8 kB / 1.236 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/0.8742, allocations: 0.7155 MB / 1.236 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.8743, allocations: 33.7 kB / 1.236 GB, free: 4 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.8746, allocations: 419.7 kB / 1.237 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.8747, allocations: 157.7 kB / 1.237 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.8748, allocations: 57.69 kB / 1.237 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.8749, allocations: 338 kB / 1.237 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.8751, allocations: 181.2 kB / 1.238 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.8756, allocations: 421 kB / 1.238 GB, free: 2.344 MB / 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.002073/0.8776, allocations: 1.191 MB / 1.239 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8776, allocations: 7.938 kB / 1.239 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000902/0.8786, allocations: 0.672 MB / 1.24 GB, free: 372 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8786, allocations: 8 kB / 1.24 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8786, allocations: 4 kB / 1.24 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.8786, allocations: 12 kB / 1.24 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.879, allocations: 127.7 kB / 1.24 GB, free: 220 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.8791, allocations: 19.92 kB / 1.24 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/0.8797, allocations: 51.97 kB / 1.24 GB, free: 148 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.8797, allocations: 32 kB / 1.24 GB, free: 116 kB / 0.9825 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.000341/0.8801, allocations: 271.1 kB / 1.24 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.8802, allocations: 86.91 kB / 1.24 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.8804, allocations: 91.66 kB / 1.24 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8804, allocations: 8 kB / 1.24 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8804, allocations: 0 / 1.24 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006491/0.8811, allocations: 0.6988 MB / 1.241 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/0.8832, allocations: 1.642 MB / 1.243 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.8832, allocations: 7.938 kB / 1.243 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.8837, allocations: 99.88 kB / 1.243 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.8837, allocations: 7.984 kB / 1.243 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.8837, allocations: 16 kB / 1.243 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.8837, allocations: 11.94 kB / 1.243 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.8838, allocations: 4 kB / 1.243 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/0.8847, allocations: 0.8649 MB / 1.244 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.885, allocations: 208 kB / 1.244 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.8851, allocations: 16 kB / 1.244 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.8856, allocations: 36.16 kB / 1.244 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.8857, allocations: 47.83 kB / 1.244 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.8857, allocations: 20 kB / 1.244 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006477/0.8864, allocations: 0.5068 MB / 1.245 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8864, allocations: 0 / 1.245 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008408/0.8872, allocations: 200 kB / 1.245 GB, free: 11.01 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.00199/0.8892, allocations: 1.509 MB / 1.246 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009158/0.8902, allocations: 469.4 kB / 1.247 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8902, allocations: 384 / 1.247 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.8905, allocations: 216.1 kB / 1.247 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/0.8932, allocations: 459.5 kB / 1.247 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009662/0.9029, allocations: 7.259 MB / 1.254 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4505/1.353, allocations: 1.021 MB / 1.255 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008451/1.354, allocations: 197.4 kB / 1.256 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/1.355, allocations: 298.6 kB / 1.256 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.81e-07/1.355, allocations: 0 / 1.256 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4026/1.757, allocations: 21.13 MB / 1.276 GB, free: 226 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/1.758, allocations: 290.8 kB / 1.277 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.91, allocations: 0 / 1.277 GB, free: 225.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 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.mat","/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