Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.015/2.015, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001153, allocations: 173.3 kB / 487 MB, free: 5.363 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 98.05 kB / 0.9213 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.915e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2875, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.401/4.689, allocations: 1.921 GB / 3.126 GB, free: 406.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/4.689, allocations: 83.95 kB / 3.126 GB, free: 406.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.6657/5.355, allocations: 373.4 MB / 3.491 GB, free: 25.43 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.396e-05/5.355, allocations: 19.98 kB / 3.491 GB, free: 25.41 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001687/5.357, allocations: 0.8764 MB / 3.492 GB, free: 24.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/5.357, allocations: 9.031 kB / 3.492 GB, free: 24.48 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/5.358, allocations: 183 kB / 3.492 GB, free: 24.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/5.359, allocations: 0.5677 MB / 3.492 GB, free: 23.69 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/5.359, allocations: 16 kB / 3.492 GB, free: 23.67 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.849e-05/5.359, allocations: 24 kB / 3.492 GB, free: 23.65 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006439/5.36, allocations: 361.7 kB / 3.493 GB, free: 23.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/5.361, allocations: 372.5 kB / 3.493 GB, free: 22.93 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/5.361, allocations: 0 / 3.493 GB, free: 22.93 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/5.361, allocations: 3.938 kB / 3.493 GB, free: 22.92 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/5.361, allocations: 17 kB / 3.493 GB, free: 22.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/5.363, allocations: 2.025 MB / 3.495 GB, free: 20.73 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/5.364, allocations: 254.8 kB / 3.495 GB, free: 20.47 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/5.364, allocations: 160.8 kB / 3.496 GB, free: 20.31 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003453/5.364, allocations: 198.2 kB / 3.496 GB, free: 20.08 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/5.364, allocations: 38.56 kB / 3.496 GB, free: 20.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.935e-06/5.364, allocations: 0 / 3.496 GB, free: 20.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.001103/5.366, allocations: 382.3 kB / 3.496 GB, free: 19.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/5.366, allocations: 55.41 kB / 3.496 GB, free: 19.59 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/5.366, allocations: 337.1 kB / 3.497 GB, free: 19.25 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/5.366, allocations: 25.7 kB / 3.497 GB, free: 19.22 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/5.366, allocations: 220 kB / 3.497 GB, free: 19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/5.366, allocations: 98.47 kB / 3.497 GB, free: 18.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.748e-05/5.366, allocations: 3.938 kB / 3.497 GB, free: 18.89 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001387/5.366, allocations: 362.7 kB / 3.497 GB, free: 18.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/5.367, allocations: 104 kB / 3.497 GB, free: 18.43 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/5.367, allocations: 188.3 kB / 3.498 GB, free: 18.21 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/5.367, allocations: 139.9 kB / 3.498 GB, free: 18.08 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/5.367, allocations: 4 kB / 3.498 GB, free: 18.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005373/5.368, allocations: 356.9 kB / 3.498 GB, free: 17.72 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/5.368, allocations: 0.5215 MB / 3.498 GB, free: 17.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/5.368, allocations: 0 / 3.498 GB, free: 17.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/5.368, allocations: 7.984 kB / 3.499 GB, free: 17.15 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/5.368, allocations: 75.91 kB / 3.499 GB, free: 17.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/5.368, allocations: 7.938 kB / 3.499 GB, free: 17.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/5.369, allocations: 59.64 kB / 3.499 GB, free: 17.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/5.369, allocations: 16 kB / 3.499 GB, free: 16.99 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-06/5.369, allocations: 4 kB / 3.499 GB, free: 16.99 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003844/5.369, allocations: 267.8 kB / 3.499 GB, free: 16.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/5.369, allocations: 80 / 3.499 GB, free: 16.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/5.369, allocations: 8.156 kB / 3.499 GB, free: 16.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/5.37, allocations: 71.91 kB / 3.499 GB, free: 16.65 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/5.37, allocations: 11.92 kB / 3.499 GB, free: 16.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/5.37, allocations: 51.7 kB / 3.499 GB, free: 16.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/5.37, allocations: 19.94 kB / 3.499 GB, free: 16.57 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.16e-05/5.37, allocations: 108.9 kB / 3.499 GB, free: 16.45 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.806e-05/5.37, allocations: 55.42 kB / 3.499 GB, free: 16.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006283/5.371, allocations: 363 kB / 3.5 GB, free: 16.04 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/5.371, allocations: 4 kB / 3.5 GB, free: 16.03 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/5.371, allocations: 0 / 3.5 GB, free: 16.03 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00046/5.372, allocations: 405.7 kB / 3.5 GB, free: 15.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/5.373, allocations: 1.016 MB / 3.501 GB, free: 14.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/5.373, allocations: 4.219 kB / 3.501 GB, free: 14.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/5.373, allocations: 67.89 kB / 3.501 GB, free: 14.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/5.373, allocations: 48.83 kB / 3.501 GB, free: 14.39 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/5.373, allocations: 4 kB / 3.501 GB, free: 14.39 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000986/5.374, allocations: 1.393 MB / 3.502 GB, free: 12.88 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/5.374, allocations: 7.938 kB / 3.502 GB, free: 12.88 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007367/5.375, allocations: 0.7168 MB / 3.503 GB, free: 12.07 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/5.375, allocations: 164.4 kB / 3.503 GB, free: 11.89 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/5.375, allocations: 0 / 3.503 GB, free: 11.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004438/5.376, allocations: 43.92 kB / 3.503 GB, free: 11.85 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/5.376, allocations: 19.98 kB / 3.503 GB, free: 11.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/5.376, allocations: 11.98 kB / 3.503 GB, free: 11.82 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002634/5.376, allocations: 259.2 kB / 3.504 GB, free: 11.57 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001277/5.378, allocations: 387.1 kB / 3.504 GB, free: 11.19 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/5.38, allocations: 1.265 MB / 3.505 GB, free: 9.91 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008283/5.38, allocations: 459.4 kB / 3.506 GB, free: 9.461 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/5.38, allocations: 4 kB / 3.506 GB, free: 9.457 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004416/5.381, allocations: 260.4 kB / 3.506 GB, free: 9.195 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/5.382, allocations: 266.5 kB / 3.506 GB, free: 8.938 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/5.384, allocations: 0.8197 MB / 3.507 GB, free: 8.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/5.385, allocations: 0.9633 MB / 3.508 GB, free: 7.082 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/5.385, allocations: 0 / 3.508 GB, free: 7.082 MB / 1.151 GB Notification: Performance of Templates: time 0.5849/5.97, allocations: 16.86 MB / 3.524 GB, free: 453.4 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches