Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.1..p|vol.2..p|vol.3..p|vol.1..T|vol.2..T|vol.3..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") [: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.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.0009995/0.0009995, allocations: 181.2 kB / 316 MB, free: 3.445 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.022/1.022, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0007707/0.0007707, allocations: 85.8 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.109e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1324, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.88/4.012, allocations: 2.442 GB / 3.327 GB, free: 312.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/4.013, allocations: 90.27 kB / 3.327 GB, free: 312.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.158/5.171, allocations: 467.3 MB / 3.783 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001008/5.171, allocations: 39.91 kB / 3.783 GB, free: 183.9 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002425/5.173, allocations: 1.495 MB / 3.785 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/5.173, allocations: 12.03 kB / 3.785 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/5.176, allocations: 0.4976 MB / 3.785 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/5.178, allocations: 1.359 MB / 3.786 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/5.178, allocations: 35.94 kB / 3.786 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/5.178, allocations: 75.89 kB / 3.787 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/5.18, allocations: 1.183 MB / 3.788 GB, free: 179.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/5.182, allocations: 1.159 MB / 3.789 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/5.182, allocations: 3.938 kB / 3.789 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/5.182, allocations: 0 / 3.789 GB, free: 178 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/5.182, allocations: 38 kB / 3.789 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004877/5.187, allocations: 4.827 MB / 3.794 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/5.188, allocations: 0.9432 MB / 3.795 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/5.188, allocations: 0.5422 MB / 3.795 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/5.189, allocations: 201.3 kB / 3.795 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/5.189, allocations: 51.2 kB / 3.795 GB, free: 171 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=78): time 2.485e-06/5.189, allocations: 0 / 3.795 GB, free: 171 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81): time 0.004301/5.193, allocations: 2.518 MB / 3.798 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/5.193, allocations: 60.06 kB / 3.798 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/5.194, allocations: 0.7907 MB / 3.799 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.041e-05/5.194, allocations: 29.64 kB / 3.799 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/5.194, allocations: 399.9 kB / 3.799 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/5.194, allocations: 279.9 kB / 3.799 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/5.194, allocations: 0 / 3.799 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/5.194, allocations: 345.8 kB / 3.8 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/5.195, allocations: 425.3 kB / 3.8 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/5.195, allocations: 0.5937 MB / 3.801 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/5.196, allocations: 0.547 MB / 3.801 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.196, allocations: 7.938 kB / 3.801 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001348/5.197, allocations: 1.177 MB / 3.802 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/5.197, allocations: 1.046 MB / 3.803 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/5.197, allocations: 4 kB / 3.803 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/5.198, allocations: 76.75 kB / 3.803 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009472/5.199, allocations: 187.8 kB / 3.804 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/5.2, allocations: 2.91 MB / 3.806 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/5.202, allocations: 115.6 kB / 3.806 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/5.202, allocations: 28.06 kB / 3.807 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-06/5.202, allocations: 4 kB / 3.807 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001207/5.203, allocations: 1.05 MB / 3.808 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/5.203, allocations: 7.984 kB / 3.808 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/5.203, allocations: 68.81 kB / 3.808 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/5.204, allocations: 167.7 kB / 3.808 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/5.205, allocations: 1.716 MB / 3.809 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/5.206, allocations: 111.8 kB / 3.81 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/5.206, allocations: 28 kB / 3.81 GB, free: 155.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001911/5.206, allocations: 128.8 kB / 3.81 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/5.206, allocations: 106.7 kB / 3.81 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/5.208, allocations: 1.14 MB / 3.811 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/5.208, allocations: 8 kB / 3.811 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/5.208, allocations: 7.984 kB / 3.811 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/5.209, allocations: 1.193 MB / 3.812 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/5.212, allocations: 2.626 MB / 3.815 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/5.212, allocations: 7.906 kB / 3.815 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/5.213, allocations: 227.7 kB / 3.815 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/5.213, allocations: 77.27 kB / 3.815 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.018e-05/5.214, allocations: 15.92 kB / 3.815 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/5.215, allocations: 2.906 MB / 3.818 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/5.215, allocations: 4 kB / 3.818 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001861/5.217, allocations: 1.999 MB / 3.82 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/5.217, allocations: 339.7 kB / 3.82 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/5.218, allocations: 11.98 kB / 3.82 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/5.219, allocations: 91.75 kB / 3.82 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/5.219, allocations: 48.44 kB / 3.82 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/5.219, allocations: 32.17 kB / 3.82 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006362/5.219, allocations: 0.6284 MB / 3.821 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001946/5.221, allocations: 0.7304 MB / 3.822 GB, free: 143.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/5.223, allocations: 1.511 MB / 3.823 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002353/5.225, allocations: 1.827 MB / 3.825 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/5.225, allocations: 4 kB / 3.825 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006857/5.226, allocations: 0.6377 MB / 3.825 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/5.229, allocations: 0.7121 MB / 3.826 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/5.232, allocations: 2.645 MB / 3.829 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009809/5.233, allocations: 1.558 MB / 3.83 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of SimCode: time 3.91e-07/5.233, allocations: 4 kB / 3.83 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.04582/5.279, allocations: 37.62 MB / 3.867 GB, free: 96.88 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches