Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 189.2 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007941/0.0007941, allocations: 96.98 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.773e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.618/3.765, allocations: 2.204 GB / 3.088 GB, free: 200.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/3.765, allocations: 83.95 kB / 3.088 GB, free: 200.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.591/5.356, allocations: 0.574 GB / 3.662 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.184e-05/5.356, allocations: 24.84 kB / 3.662 GB, free: 177.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001677/5.358, allocations: 1.131 MB / 3.663 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/5.358, allocations: 10.22 kB / 3.663 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/5.359, allocations: 222.6 kB / 3.664 GB, free: 177 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/5.36, allocations: 0.6773 MB / 3.664 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/5.36, allocations: 22.53 kB / 3.664 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/5.36, allocations: 47.88 kB / 3.664 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007563/5.361, allocations: 0.5202 MB / 3.665 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009198/5.362, allocations: 0.7977 MB / 3.666 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/5.362, allocations: 5.75 kB / 3.666 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/5.362, allocations: 3.938 kB / 3.666 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/5.362, allocations: 34.88 kB / 3.666 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/5.365, allocations: 4.461 MB / 3.67 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/5.366, allocations: 443.3 kB / 3.671 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/5.366, allocations: 224.7 kB / 3.671 GB, free: 173.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/5.366, allocations: 95.91 kB / 3.671 GB, free: 173.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/5.366, allocations: 44.5 kB / 3.671 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 1.884e-06/5.366, allocations: 0 / 3.671 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002221/5.368, allocations: 1.338 MB / 3.672 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/5.368, allocations: 106.5 kB / 3.672 GB, free: 172.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/5.369, allocations: 441.9 kB / 3.673 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/5.369, allocations: 25.7 kB / 3.673 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/5.369, allocations: 351.4 kB / 3.673 GB, free: 172.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/5.369, allocations: 161.7 kB / 3.673 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/5.369, allocations: 3.375 kB / 3.673 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/5.369, allocations: 369.4 kB / 3.674 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/5.369, allocations: 165.2 kB / 3.674 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/5.37, allocations: 399.6 kB / 3.674 GB, free: 171.5 MB / 0.8698 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.001305/5.371, allocations: 0.6344 MB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/5.371, allocations: 6.844 kB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000696/5.372, allocations: 0.5745 MB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/5.372, allocations: 7.656 kB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/5.372, allocations: 7.344 kB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/5.372, allocations: 11.31 kB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/5.372, allocations: 119.4 kB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/5.372, allocations: 15.14 kB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/5.373, allocations: 44.28 kB / 3.675 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/5.373, allocations: 27.5 kB / 3.676 GB, free: 171.4 MB / 0.8698 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.000103/5.373, allocations: 130.2 kB / 3.676 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/5.373, allocations: 68.09 kB / 3.676 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/5.373, allocations: 72.31 kB / 3.676 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/5.373, allocations: 3.469 kB / 3.676 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/5.373, allocations: 0 / 3.676 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004736/5.374, allocations: 0.6672 MB / 3.676 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/5.375, allocations: 1.485 MB / 3.678 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/5.375, allocations: 7.359 kB / 3.678 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/5.376, allocations: 101.6 kB / 3.678 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/5.376, allocations: 3.906 kB / 3.678 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/5.376, allocations: 10 kB / 3.678 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/5.376, allocations: 12.31 kB / 3.678 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/5.376, allocations: 7.469 kB / 3.678 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007901/5.377, allocations: 1.017 MB / 3.679 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/5.377, allocations: 192.1 kB / 3.679 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/5.377, allocations: 7.688 kB / 3.679 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/5.377, allocations: 31.84 kB / 3.679 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/5.378, allocations: 31.88 kB / 3.679 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/5.378, allocations: 18.09 kB / 3.679 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002622/5.378, allocations: 334.1 kB / 3.68 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000878/5.379, allocations: 306.4 kB / 3.68 GB, free: 169.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],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.001763/5.38, allocations: 1.872 MB / 3.682 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005506/5.381, allocations: 434 kB / 3.682 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/5.381, allocations: 0 / 3.682 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/5.381, allocations: 198.3 kB / 3.682 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/5.382, allocations: 302 kB / 3.683 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/5.384, allocations: 1.254 MB / 3.684 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/5.385, allocations: 1.114 MB / 3.685 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/5.385, allocations: 0 / 3.685 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.0277/5.412, allocations: 20.17 MB / 3.705 GB, free: 167.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches