Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [: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.097/2.097, 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.001328/0.001328, allocations: 175.9 kB / 487 MB, free: 5.383 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.414/1.414, allocations: 221.3 MB / 0.7819 GB, free: 1.512 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.001034/0.001034, allocations: 98.5 kB / 0.9213 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.225e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2891, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.274/4.563, allocations: 1.93 GB / 3.135 GB, free: 337.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/4.563, allocations: 95.03 kB / 3.135 GB, free: 337.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.69/6.253, allocations: 0.6002 GB / 3.735 GB, free: 186.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.191e-05/6.253, allocations: 24.42 kB / 3.735 GB, free: 186.2 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001917/6.255, allocations: 1.127 MB / 3.736 GB, free: 185.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/6.255, allocations: 12.03 kB / 3.736 GB, free: 185.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/6.257, allocations: 218.6 kB / 3.737 GB, free: 184.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/6.258, allocations: 0.6758 MB / 3.737 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/6.258, allocations: 24 kB / 3.737 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.156e-05/6.258, allocations: 47.91 kB / 3.737 GB, free: 184.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007984/6.259, allocations: 0.5311 MB / 3.738 GB, free: 183.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/6.259, allocations: 0.7931 MB / 3.739 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/6.26, allocations: 4 kB / 3.739 GB, free: 182.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.489e-05/6.26, allocations: 4 kB / 3.739 GB, free: 182.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/6.26, allocations: 33.3 kB / 3.739 GB, free: 182.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/6.263, allocations: 4.519 MB / 3.743 GB, free: 177.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/6.263, allocations: 452.5 kB / 3.744 GB, free: 177.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/6.264, allocations: 228.3 kB / 3.744 GB, free: 177.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/6.264, allocations: 101.1 kB / 3.744 GB, free: 177 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/6.264, allocations: 42.5 kB / 3.744 GB, free: 177 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 3.086e-06/6.264, allocations: 0 / 3.744 GB, free: 177 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002267/6.266, allocations: 1.344 MB / 3.745 GB, free: 175.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/6.266, allocations: 110.8 kB / 3.745 GB, free: 175.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/6.267, allocations: 434.3 kB / 3.746 GB, free: 175 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/6.267, allocations: 29.7 kB / 3.746 GB, free: 175 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/6.267, allocations: 351 kB / 3.746 GB, free: 174.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/6.267, allocations: 157.7 kB / 3.746 GB, free: 174.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/6.267, allocations: 0 / 3.746 GB, free: 174.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/6.267, allocations: 370.8 kB / 3.747 GB, free: 174.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/6.267, allocations: 173.2 kB / 3.747 GB, free: 173.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/6.267, allocations: 402.4 kB / 3.747 GB, free: 173.4 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/6.269, allocations: 0.6574 MB / 3.748 GB, free: 172.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/6.269, allocations: 4 kB / 3.748 GB, free: 172.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007081/6.27, allocations: 0.5782 MB / 3.748 GB, free: 172.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/6.27, allocations: 4 kB / 3.748 GB, free: 172.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/6.27, allocations: 8.781 kB / 3.748 GB, free: 172.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/6.27, allocations: 11.91 kB / 3.748 GB, free: 172.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/6.27, allocations: 131.8 kB / 3.748 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/6.27, allocations: 15.92 kB / 3.749 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/6.271, allocations: 43.81 kB / 3.749 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/6.271, allocations: 28 kB / 3.749 GB, free: 171.9 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/6.271, allocations: 130.6 kB / 3.749 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/6.271, allocations: 63.25 kB / 3.749 GB, free: 171.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001326/6.271, allocations: 77.92 kB / 3.749 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/6.271, allocations: 4 kB / 3.749 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/6.271, allocations: 4 kB / 3.749 GB, free: 171.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004881/6.272, allocations: 0.6714 MB / 3.749 GB, free: 170.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/6.273, allocations: 1.48 MB / 3.751 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/6.273, allocations: 4 kB / 3.751 GB, free: 169.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/6.274, allocations: 95.88 kB / 3.751 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/6.274, allocations: 8.469 kB / 3.751 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/6.274, allocations: 11.91 kB / 3.751 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/6.274, allocations: 15.94 kB / 3.751 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/6.274, allocations: 4 kB / 3.751 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007952/6.275, allocations: 0.9817 MB / 3.752 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/6.275, allocations: 188.2 kB / 3.752 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/6.275, allocations: 8 kB / 3.752 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/6.276, allocations: 35.91 kB / 3.752 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/6.276, allocations: 31.81 kB / 3.752 GB, free: 167.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/6.276, allocations: 32.11 kB / 3.752 GB, free: 167.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0002932/6.276, allocations: 326.9 kB / 3.753 GB, free: 167.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001019/6.277, allocations: 303.9 kB / 3.753 GB, free: 167.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * 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 (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.001987/6.279, allocations: 1.866 MB / 3.755 GB, free: 165.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000613/6.28, allocations: 437.2 kB / 3.755 GB, free: 164.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/6.28, allocations: 0 / 3.755 GB, free: 164.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/6.28, allocations: 199.7 kB / 3.755 GB, free: 164.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/6.281, allocations: 307.7 kB / 3.756 GB, free: 164.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/6.283, allocations: 1.255 MB / 3.757 GB, free: 162.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/6.284, allocations: 1.105 MB / 3.758 GB, free: 161.8 MB / 1.151 GB Notification: Performance of SimCode: time 4.61e-07/6.284, allocations: 0 / 3.758 GB, free: 161.8 MB / 1.151 GB Notification: Performance of Templates: time 0.02883/6.312, allocations: 20.13 MB / 3.778 GB, free: 141.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches