Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.029/2.029, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.001132/0.001132, allocations: 184.7 kB / 490.8 MB, free: 1.957 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.346/1.346, allocations: 221.3 MB / 0.7863 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 88.73 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.456e-06, allocations: 0 / 1.072 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.232, allocations: 143 MB / 1.212 GB, free: 40.18 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.256/4.488, allocations: 1.931 GB / 3.142 GB, free: 401.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/4.488, allocations: 87.94 kB / 3.142 GB, free: 401.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.953/6.441, allocations: 0.6002 GB / 3.742 GB, free: 228.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001878/6.441, allocations: 30.75 kB / 3.742 GB, free: 228.5 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.004904/6.446, allocations: 1.131 MB / 3.744 GB, free: 227.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.633e-05/6.446, allocations: 15.97 kB / 3.744 GB, free: 227.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/6.449, allocations: 222.6 kB / 3.744 GB, free: 227.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/6.451, allocations: 0.6883 MB / 3.744 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.042e-05/6.451, allocations: 20 kB / 3.744 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/6.451, allocations: 48 kB / 3.745 GB, free: 226.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/6.452, allocations: 0.5233 MB / 3.745 GB, free: 225.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/6.454, allocations: 0.7965 MB / 3.746 GB, free: 224.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/6.454, allocations: 7.844 kB / 3.746 GB, free: 224.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/6.454, allocations: 4 kB / 3.746 GB, free: 224.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/6.454, allocations: 29.3 kB / 3.746 GB, free: 224.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004647/6.459, allocations: 4.511 MB / 3.75 GB, free: 220.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/6.46, allocations: 454 kB / 3.751 GB, free: 219.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/6.46, allocations: 222.3 kB / 3.751 GB, free: 219.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/6.46, allocations: 97.09 kB / 3.751 GB, free: 219.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/6.46, allocations: 50.5 kB / 3.751 GB, free: 219.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 5.029e-06/6.46, allocations: 0 / 3.751 GB, free: 219.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002985/6.463, allocations: 1.336 MB / 3.752 GB, free: 217.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/6.463, allocations: 110.3 kB / 3.752 GB, free: 217.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/6.464, allocations: 438.4 kB / 3.753 GB, free: 217.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/6.464, allocations: 25.7 kB / 3.753 GB, free: 217.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/6.464, allocations: 359 kB / 3.753 GB, free: 216.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/6.464, allocations: 153.7 kB / 3.753 GB, free: 216.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/6.464, allocations: 0 / 3.753 GB, free: 216.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000142/6.464, allocations: 374.7 kB / 3.754 GB, free: 216.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/6.465, allocations: 173.2 kB / 3.754 GB, free: 216.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/6.465, allocations: 394.3 kB / 3.754 GB, free: 215.7 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.001662/6.467, allocations: 0.673 MB / 3.755 GB, free: 215 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/6.467, allocations: 0 / 3.755 GB, free: 215 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000805/6.467, allocations: 0.584 MB / 3.755 GB, free: 214.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/6.467, allocations: 8 kB / 3.756 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/6.467, allocations: 4 kB / 3.756 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/6.467, allocations: 12 kB / 3.756 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/6.468, allocations: 127.8 kB / 3.756 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/6.468, allocations: 11.98 kB / 3.756 GB, free: 214.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/6.469, allocations: 43.81 kB / 3.756 GB, free: 214.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/6.469, allocations: 28 kB / 3.756 GB, free: 214.2 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.0001472/6.469, allocations: 132.6 kB / 3.756 GB, free: 214.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/6.469, allocations: 71.17 kB / 3.756 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/6.469, allocations: 70.03 kB / 3.756 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/6.469, allocations: 4 kB / 3.756 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/6.469, allocations: 4 kB / 3.756 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005772/6.47, allocations: 0.6637 MB / 3.757 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/6.472, allocations: 1.474 MB / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/6.472, allocations: 7.984 kB / 3.758 GB, free: 211.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/6.472, allocations: 99.92 kB / 3.758 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/6.472, allocations: 4 kB / 3.758 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/6.472, allocations: 13.75 kB / 3.758 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/6.472, allocations: 11.94 kB / 3.758 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/6.472, allocations: 4 kB / 3.758 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008792/6.473, allocations: 0.9902 MB / 3.759 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/6.473, allocations: 184.4 kB / 3.759 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/6.474, allocations: 12 kB / 3.759 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/6.474, allocations: 27.88 kB / 3.759 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/6.474, allocations: 43.81 kB / 3.759 GB, free: 210.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/6.474, allocations: 19.98 kB / 3.759 GB, free: 210 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003079/6.474, allocations: 326.9 kB / 3.76 GB, free: 209.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001088/6.475, allocations: 307.9 kB / 3.76 GB, free: 209.4 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.002354/6.478, allocations: 1.874 MB / 3.762 GB, free: 207.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006339/6.479, allocations: 440.3 kB / 3.762 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/6.479, allocations: 3.719 kB / 3.762 GB, free: 207.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/6.479, allocations: 201.3 kB / 3.763 GB, free: 207.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/6.48, allocations: 294.5 kB / 3.763 GB, free: 206.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/6.482, allocations: 1.257 MB / 3.764 GB, free: 205.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/6.483, allocations: 1.109 MB / 3.765 GB, free: 204.3 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/6.483, allocations: 0 / 3.765 GB, free: 204.3 MB / 1.151 GB Notification: Performance of Templates: time 0.02985/6.513, allocations: 20.13 MB / 3.785 GB, free: 184.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches