Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [: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.056/2.056, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001379/0.001379, allocations: 177.2 kB / 487 MB, free: 5.352 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.431/1.431, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.00102/0.00102, allocations: 98.19 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.303e-06/7.313e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3125, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.833/5.145, allocations: 1.918 GB / 3.124 GB, free: 401.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/5.146, allocations: 91.88 kB / 3.124 GB, free: 401.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.779/6.925, allocations: 0.5764 GB / 3.7 GB, free: 252.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.666e-05/6.925, allocations: 26.81 kB / 3.7 GB, free: 252.6 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002343/6.927, allocations: 1.227 MB / 3.701 GB, free: 251.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/6.927, allocations: 12.03 kB / 3.701 GB, free: 251.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/6.93, allocations: 446.2 kB / 3.702 GB, free: 250.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/6.932, allocations: 0.8064 MB / 3.703 GB, free: 250.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003258/6.932, allocations: 105.9 kB / 3.703 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/6.932, allocations: 44 kB / 3.703 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/6.933, allocations: 0.6756 MB / 3.703 GB, free: 249.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/6.935, allocations: 0.7941 MB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/6.935, allocations: 4 kB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.661e-05/6.935, allocations: 4 kB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/6.935, allocations: 29.94 kB / 3.704 GB, free: 248.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/6.94, allocations: 3.33 MB / 3.708 GB, free: 244.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005925/6.941, allocations: 406.1 kB / 3.708 GB, free: 244.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/6.941, allocations: 241.8 kB / 3.708 GB, free: 244.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/6.941, allocations: 103.9 kB / 3.708 GB, free: 244.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/6.941, allocations: 48.38 kB / 3.708 GB, free: 244.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/6.941, allocations: 0 / 3.708 GB, free: 244.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.004093/6.945, allocations: 1.457 MB / 3.71 GB, free: 242.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/6.945, allocations: 55.41 kB / 3.71 GB, free: 242.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/6.946, allocations: 0.5114 MB / 3.71 GB, free: 242 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/6.946, allocations: 25.7 kB / 3.71 GB, free: 242 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/6.946, allocations: 359 kB / 3.711 GB, free: 241.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/6.946, allocations: 134 kB / 3.711 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/6.946, allocations: 3.938 kB / 3.711 GB, free: 241.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/6.947, allocations: 374.8 kB / 3.711 GB, free: 241.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/6.947, allocations: 213.2 kB / 3.711 GB, free: 240.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/6.947, allocations: 312.8 kB / 3.712 GB, free: 240.6 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/6.95, allocations: 1.026 MB / 3.713 GB, free: 239.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/6.95, allocations: 0 / 3.713 GB, free: 239.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002035/6.952, allocations: 0.8232 MB / 3.713 GB, free: 238.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/6.952, allocations: 8 kB / 3.713 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/6.952, allocations: 4 kB / 3.713 GB, free: 238.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/6.952, allocations: 132.9 kB / 3.714 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/6.953, allocations: 147.8 kB / 3.714 GB, free: 238.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/6.955, allocations: 1.724 MB / 3.715 GB, free: 236.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/6.956, allocations: 87.83 kB / 3.715 GB, free: 236.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/6.956, allocations: 20.06 kB / 3.716 GB, free: 236.5 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 (59): * Single equations (assignments): 58 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002344/6.956, allocations: 135.3 kB / 3.716 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/6.956, allocations: 71.16 kB / 3.716 GB, free: 236.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/6.956, allocations: 82.53 kB / 3.716 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/6.956, allocations: 4.188 kB / 3.716 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/6.956, allocations: 4 kB / 3.716 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001816/6.958, allocations: 0.7175 MB / 3.717 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/6.962, allocations: 1.7 MB / 3.718 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/6.962, allocations: 4 kB / 3.718 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/6.962, allocations: 112.3 kB / 3.718 GB, free: 233.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/6.963, allocations: 136.7 kB / 3.718 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/6.963, allocations: 15.94 kB / 3.718 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/6.965, allocations: 1.74 MB / 3.72 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/6.965, allocations: 7.938 kB / 3.72 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002305/6.967, allocations: 1.27 MB / 3.721 GB, free: 230.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/6.967, allocations: 212.2 kB / 3.722 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/6.967, allocations: 11.98 kB / 3.722 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/6.968, allocations: 91.83 kB / 3.722 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/6.968, allocations: 27.88 kB / 3.722 GB, free: 229.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/6.969, allocations: 27.98 kB / 3.722 GB, free: 229.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004525/6.969, allocations: 399.1 kB / 3.722 GB, free: 229.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001366/6.97, allocations: 359.8 kB / 3.722 GB, free: 229 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002059/6.972, allocations: 1.51 MB / 3.724 GB, free: 227.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009434/6.973, allocations: 0.583 MB / 3.724 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/6.973, allocations: 0.6875 kB / 3.724 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/6.974, allocations: 345.7 kB / 3.725 GB, free: 226.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/6.976, allocations: 374.6 kB / 3.725 GB, free: 226.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/6.98, allocations: 1.425 MB / 3.727 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007959/6.98, allocations: 1.117 MB / 3.728 GB, free: 223.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.21e-07/6.98, allocations: 0 / 3.728 GB, free: 223.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03397/7.014, allocations: 22.75 MB / 3.75 GB, free: 201.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches