Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.066/2.066, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.00129/0.00129, allocations: 179.8 kB / 487 MB, free: 5.422 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.377/1.377, allocations: 221.3 MB / 0.7819 GB, free: 1.5 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.001052/0.001052, allocations: 96.53 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/9.007e-06, allocations: 4 kB / 1.066 GB, free: 168.4 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 142.3 MB / 1.205 GB, free: 26.31 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.242/4.493, allocations: 1.919 GB / 3.124 GB, free: 403.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/4.493, allocations: 87.58 kB / 3.125 GB, free: 403 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.7/6.193, allocations: 0.572 GB / 3.696 GB, free: 258 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.68e-05/6.193, allocations: 31.45 kB / 3.696 GB, free: 258 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002744/6.196, allocations: 1.244 MB / 3.698 GB, free: 256.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/6.196, allocations: 8.031 kB / 3.698 GB, free: 256.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/6.198, allocations: 342.3 kB / 3.698 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/6.2, allocations: 0.8225 MB / 3.699 GB, free: 255.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/6.2, allocations: 109.9 kB / 3.699 GB, free: 255.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/6.2, allocations: 48 kB / 3.699 GB, free: 255.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001139/6.201, allocations: 0.699 MB / 3.7 GB, free: 254.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/6.203, allocations: 0.8864 MB / 3.701 GB, free: 253.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/6.203, allocations: 0 / 3.701 GB, free: 253.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/6.203, allocations: 4 kB / 3.701 GB, free: 253.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/6.203, allocations: 37.92 kB / 3.701 GB, free: 253.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004922/6.208, allocations: 3.98 MB / 3.704 GB, free: 249.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/6.208, allocations: 250.2 kB / 3.705 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/6.208, allocations: 200.7 kB / 3.705 GB, free: 249.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/6.209, allocations: 103.2 kB / 3.705 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/6.209, allocations: 42.56 kB / 3.705 GB, free: 248.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=36): time 3.206e-06/6.209, allocations: 0 / 3.705 GB, free: 248.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=38): time 0.002185/6.211, allocations: 1.111 MB / 3.706 GB, free: 247.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/6.211, allocations: 59.39 kB / 3.706 GB, free: 247.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/6.211, allocations: 0.57 MB / 3.707 GB, free: 247.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/6.211, allocations: 25.7 kB / 3.707 GB, free: 247.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/6.212, allocations: 410.3 kB / 3.707 GB, free: 246.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/6.212, allocations: 134.1 kB / 3.707 GB, free: 246.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/6.212, allocations: 0 / 3.707 GB, free: 246.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001078/6.212, allocations: 382.7 kB / 3.708 GB, free: 246.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/6.212, allocations: 205.1 kB / 3.708 GB, free: 246 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/6.212, allocations: 357.5 kB / 3.708 GB, free: 245.6 MB / 1.151 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.001711/6.214, allocations: 0.7237 MB / 3.709 GB, free: 244.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/6.214, allocations: 0 / 3.709 GB, free: 244.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008644/6.215, allocations: 0.6323 MB / 3.71 GB, free: 244.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/6.215, allocations: 8 kB / 3.71 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/6.215, allocations: 4 kB / 3.71 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/6.215, allocations: 8.625 kB / 3.71 GB, free: 244.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/6.216, allocations: 147.8 kB / 3.71 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/6.216, allocations: 11.94 kB / 3.71 GB, free: 244 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/6.217, allocations: 87.78 kB / 3.71 GB, free: 243.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/6.217, allocations: 27.98 kB / 3.71 GB, free: 243.9 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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 0.0001301/6.217, allocations: 128.7 kB / 3.71 GB, free: 243.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/6.217, allocations: 71.2 kB / 3.71 GB, free: 243.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/6.217, allocations: 82.77 kB / 3.71 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/6.217, allocations: 4 kB / 3.71 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/6.217, allocations: 0 / 3.71 GB, free: 243.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005037/6.218, allocations: 0.6631 MB / 3.711 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/6.22, allocations: 1.436 MB / 3.712 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/6.22, allocations: 4.5 kB / 3.712 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/6.22, allocations: 91.89 kB / 3.712 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/6.22, allocations: 4 kB / 3.712 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/6.22, allocations: 11.94 kB / 3.712 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/6.22, allocations: 4 kB / 3.712 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/6.22, allocations: 4 kB / 3.712 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008966/6.221, allocations: 0.973 MB / 3.713 GB, free: 240.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002766/6.221, allocations: 212.1 kB / 3.713 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/6.221, allocations: 8 kB / 3.713 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/6.222, allocations: 51.89 kB / 3.713 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/6.222, allocations: 35.81 kB / 3.713 GB, free: 239.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/6.222, allocations: 27.98 kB / 3.713 GB, free: 239.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000457/6.223, allocations: 435.1 kB / 3.714 GB, free: 239.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001174/6.224, allocations: 335.9 kB / 3.714 GB, free: 239 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001914/6.226, allocations: 1.521 MB / 3.716 GB, free: 237.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006588/6.226, allocations: 440.2 kB / 3.716 GB, free: 237.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/6.226, allocations: 4 kB / 3.716 GB, free: 237.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/6.227, allocations: 186.1 kB / 3.716 GB, free: 237 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/6.228, allocations: 380.9 kB / 3.717 GB, free: 236.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/6.231, allocations: 1.374 MB / 3.718 GB, free: 235.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/6.231, allocations: 1.191 MB / 3.719 GB, free: 233.9 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/6.231, allocations: 0 / 3.719 GB, free: 233.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03235/6.264, allocations: 21 MB / 3.74 GB, free: 213.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches