Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [: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.026/2.026, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.001119/0.001119, allocations: 189.2 kB / 490.8 MB, free: 1.938 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.259/1.259, allocations: 221.3 MB / 0.7863 GB, free: 13.71 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.0009107/0.0009107, allocations: 86.92 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.186e-06/8.206e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2577, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.55/4.807, allocations: 1.917 GB / 3.129 GB, free: 426.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/4.808, allocations: 94.8 kB / 3.129 GB, free: 426.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.7128/5.521, allocations: 364.4 MB / 3.485 GB, free: 55.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001503/5.521, allocations: 20 kB / 3.485 GB, free: 55.18 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003733/5.525, allocations: 0.9741 MB / 3.486 GB, free: 54.16 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/5.525, allocations: 12.03 kB / 3.486 GB, free: 54.14 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/5.527, allocations: 282.7 kB / 3.486 GB, free: 53.87 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/5.529, allocations: 0.7259 MB / 3.487 GB, free: 53.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/5.529, allocations: 16 kB / 3.487 GB, free: 53.08 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/5.529, allocations: 43.91 kB / 3.487 GB, free: 53.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000945/5.53, allocations: 458.5 kB / 3.487 GB, free: 52.59 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00083/5.531, allocations: 491.8 kB / 3.487 GB, free: 52.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/5.531, allocations: 0 / 3.487 GB, free: 52.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.635e-05/5.531, allocations: 0 / 3.487 GB, free: 52.11 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.43e-05/5.531, allocations: 25.3 kB / 3.488 GB, free: 52.08 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/5.535, allocations: 2.327 MB / 3.49 GB, free: 49.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/5.535, allocations: 265.1 kB / 3.49 GB, free: 49.32 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/5.535, allocations: 204.8 kB / 3.49 GB, free: 49.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/5.536, allocations: 105.1 kB / 3.49 GB, free: 49 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/5.536, allocations: 43.28 kB / 3.49 GB, free: 48.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/5.536, allocations: 0 / 3.49 GB, free: 48.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=48): time 0.00266/5.538, allocations: 1.211 MB / 3.492 GB, free: 47.69 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/5.538, allocations: 55.84 kB / 3.492 GB, free: 47.62 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/5.539, allocations: 386.2 kB / 3.492 GB, free: 47.24 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/5.539, allocations: 29.7 kB / 3.492 GB, free: 47.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/5.539, allocations: 256.4 kB / 3.492 GB, free: 46.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/5.539, allocations: 161.5 kB / 3.492 GB, free: 46.79 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/5.539, allocations: 0 / 3.492 GB, free: 46.79 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001035/5.539, allocations: 370.8 kB / 3.493 GB, free: 46.41 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/5.54, allocations: 161 kB / 3.493 GB, free: 46.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/5.54, allocations: 252 kB / 3.493 GB, free: 45.98 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/5.542, allocations: 1.036 MB / 3.494 GB, free: 44.91 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/5.542, allocations: 0 / 3.494 GB, free: 44.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006094/5.543, allocations: 498.3 kB / 3.495 GB, free: 44.42 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/5.543, allocations: 8 kB / 3.495 GB, free: 44.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/5.543, allocations: 7.922 kB / 3.495 GB, free: 44.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/5.543, allocations: 4 kB / 3.495 GB, free: 44.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/5.543, allocations: 87.91 kB / 3.495 GB, free: 44.31 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/5.543, allocations: 12.09 kB / 3.495 GB, free: 44.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/5.544, allocations: 35.75 kB / 3.495 GB, free: 44.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/5.544, allocations: 16 kB / 3.495 GB, free: 44.25 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001268/5.544, allocations: 120.9 kB / 3.495 GB, free: 44.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/5.544, allocations: 63.25 kB / 3.495 GB, free: 44.06 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/5.544, allocations: 65.59 kB / 3.495 GB, free: 44 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/5.544, allocations: 8 kB / 3.495 GB, free: 43.99 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/5.544, allocations: 0 / 3.495 GB, free: 43.99 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004963/5.545, allocations: 497.8 kB / 3.496 GB, free: 43.48 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/5.547, allocations: 1.449 MB / 3.497 GB, free: 41.92 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/5.547, allocations: 4.625 kB / 3.497 GB, free: 41.92 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005444/5.547, allocations: 119.8 kB / 3.497 GB, free: 41.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/5.547, allocations: 12 kB / 3.497 GB, free: 41.79 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/5.547, allocations: 8 kB / 3.497 GB, free: 41.78 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/5.547, allocations: 7.984 kB / 3.497 GB, free: 41.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/5.547, allocations: 11.94 kB / 3.497 GB, free: 41.76 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009223/5.548, allocations: 1.091 MB / 3.498 GB, free: 40.46 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/5.549, allocations: 188.4 kB / 3.498 GB, free: 40.25 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/5.549, allocations: 11.98 kB / 3.498 GB, free: 40.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/5.549, allocations: 31.83 kB / 3.498 GB, free: 40.21 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/5.549, allocations: 43.81 kB / 3.498 GB, free: 40.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-05/5.549, allocations: 23.98 kB / 3.498 GB, free: 40.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000284/5.55, allocations: 298.9 kB / 3.499 GB, free: 39.86 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008542/5.551, allocations: 256 kB / 3.499 GB, free: 39.61 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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.001421/5.552, allocations: 1.211 MB / 3.5 GB, free: 38.39 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005597/5.553, allocations: 404.5 kB / 3.501 GB, free: 37.99 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/5.553, allocations: 0 / 3.501 GB, free: 37.99 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/5.553, allocations: 216.7 kB / 3.501 GB, free: 37.78 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/5.555, allocations: 401.3 kB / 3.501 GB, free: 37.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/5.557, allocations: 1.243 MB / 3.502 GB, free: 36.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005542/5.557, allocations: 1.05 MB / 3.503 GB, free: 34.99 MB / 1.151 GB Notification: Performance of SimCode: time 2.3e-07/5.557, allocations: 4 kB / 3.503 GB, free: 34.99 MB / 1.151 GB Notification: Performance of Templates: time 0.02571/5.583, allocations: 18.1 MB / 3.521 GB, free: 17.04 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches