Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [: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.063/2.063, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001203/0.001203, allocations: 177.3 kB / 487 MB, free: 5.344 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.42/1.42, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0009624/0.0009622, allocations: 94.02 kB / 0.9213 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2458, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.387/4.632, allocations: 1.929 GB / 3.134 GB, free: 370.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/4.633, allocations: 95.84 kB / 3.134 GB, free: 370.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.781/6.414, allocations: 0.6143 GB / 3.748 GB, free: 187.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.3e-05/6.414, allocations: 27.59 kB / 3.748 GB, free: 187.9 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002387/6.417, allocations: 1.04 MB / 3.749 GB, free: 186.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/6.417, allocations: 8.031 kB / 3.75 GB, free: 186.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/6.418, allocations: 198.8 kB / 3.75 GB, free: 186.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/6.419, allocations: 0.5406 MB / 3.75 GB, free: 186 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/6.419, allocations: 93.25 kB / 3.75 GB, free: 185.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/6.42, allocations: 36 kB / 3.75 GB, free: 185.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006419/6.42, allocations: 326.5 kB / 3.751 GB, free: 185.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/6.421, allocations: 0.6405 MB / 3.751 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/6.421, allocations: 7.938 kB / 3.751 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/6.421, allocations: 4 kB / 3.751 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/6.421, allocations: 16.78 kB / 3.751 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00327/6.424, allocations: 4.124 MB / 3.755 GB, free: 180.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/6.425, allocations: 100.5 kB / 3.755 GB, free: 180.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.079e-05/6.425, allocations: 75.5 kB / 3.756 GB, free: 180.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/6.425, allocations: 97.09 kB / 3.756 GB, free: 180.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/6.425, allocations: 34.56 kB / 3.756 GB, free: 180.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/6.425, allocations: 0 / 3.756 GB, free: 180.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0004795/6.425, allocations: 165 kB / 3.756 GB, free: 179.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/6.425, allocations: 136.5 kB / 3.756 GB, free: 179.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/6.426, allocations: 462 kB / 3.756 GB, free: 179.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/6.426, allocations: 25.7 kB / 3.756 GB, free: 179.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/6.426, allocations: 354.8 kB / 3.757 GB, free: 178.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/6.426, allocations: 39.45 kB / 3.757 GB, free: 178.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/6.426, allocations: 0 / 3.757 GB, free: 178.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/6.426, allocations: 358.9 kB / 3.757 GB, free: 178.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/6.426, allocations: 75.97 kB / 3.757 GB, free: 178.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/6.427, allocations: 315.7 kB / 3.757 GB, free: 178 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/6.427, allocations: 143.8 kB / 3.758 GB, free: 177.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/6.427, allocations: 0 / 3.758 GB, free: 177.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005439/6.427, allocations: 368.4 kB / 3.758 GB, free: 177.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/6.427, allocations: 4 kB / 3.758 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/6.427, allocations: 10.44 kB / 3.758 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/6.427, allocations: 8 kB / 3.758 GB, free: 177.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/6.428, allocations: 103.8 kB / 3.758 GB, free: 177.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/6.428, allocations: 15.94 kB / 3.758 GB, free: 177.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/6.428, allocations: 95.53 kB / 3.758 GB, free: 177.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/6.428, allocations: 24 kB / 3.758 GB, free: 177.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 8.04e-05/6.428, allocations: 124.8 kB / 3.758 GB, free: 177.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/6.429, allocations: 55.33 kB / 3.758 GB, free: 177.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.368e-05/6.429, allocations: 52.03 kB / 3.758 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/6.429, allocations: 4 kB / 3.758 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/6.429, allocations: 0 / 3.758 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/6.429, allocations: 0 / 3.758 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009909/6.43, allocations: 1.039 MB / 3.759 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/6.43, allocations: 320 / 3.759 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.013e-05/6.43, allocations: 24.81 kB / 3.759 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/6.43, allocations: 4 kB / 3.759 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/6.43, allocations: 0 / 3.759 GB, free: 175.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/6.43, allocations: 4 kB / 3.759 GB, free: 175.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/6.43, allocations: 7.984 kB / 3.759 GB, free: 175.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002339/6.43, allocations: 343.3 kB / 3.76 GB, free: 175.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/6.43, allocations: 140.6 kB / 3.76 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/6.43, allocations: 7.984 kB / 3.76 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/6.431, allocations: 27.92 kB / 3.76 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/6.431, allocations: 11.98 kB / 3.76 GB, free: 175.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/6.431, allocations: 8.078 kB / 3.76 GB, free: 175.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003071/6.431, allocations: 350.9 kB / 3.76 GB, free: 174.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009641/6.432, allocations: 307.3 kB / 3.761 GB, free: 174.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002497/6.434, allocations: 1.939 MB / 3.763 GB, free: 172.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000301/6.435, allocations: 187.7 kB / 3.763 GB, free: 172.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/6.435, allocations: 0 / 3.763 GB, free: 172.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/6.435, allocations: 53.8 kB / 3.763 GB, free: 172.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/6.436, allocations: 180.2 kB / 3.763 GB, free: 172.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/6.437, allocations: 0.7112 MB / 3.764 GB, free: 171.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/6.437, allocations: 0.9939 MB / 3.765 GB, free: 170.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/6.437, allocations: 0 / 3.765 GB, free: 170.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02407/6.461, allocations: 16.61 MB / 3.781 GB, free: 153.9 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches