Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.988/1.988, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001099/0.001099, allocations: 177.3 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.259/1.259, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0009808/0.0009809, allocations: 98.34 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.724e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.248, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.693/4.941, allocations: 1.919 GB / 3.131 GB, free: 347.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/4.942, allocations: 92.08 kB / 3.131 GB, free: 347.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.827/6.768, allocations: 0.5765 GB / 3.707 GB, free: 225.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000132/6.769, allocations: 34.75 kB / 3.707 GB, free: 225.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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003562/6.772, allocations: 1.226 MB / 3.709 GB, free: 224.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/6.772, allocations: 15.95 kB / 3.709 GB, free: 224.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/6.775, allocations: 446.2 kB / 3.709 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/6.778, allocations: 0.7961 MB / 3.71 GB, free: 222.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003491/6.778, allocations: 105.8 kB / 3.71 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/6.778, allocations: 44 kB / 3.71 GB, free: 222.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/6.78, allocations: 0.6795 MB / 3.711 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/6.781, allocations: 0.7926 MB / 3.711 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/6.781, allocations: 4 kB / 3.711 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/6.781, allocations: 0 / 3.711 GB, free: 221.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/6.781, allocations: 30 kB / 3.711 GB, free: 221.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005711/6.787, allocations: 3.324 MB / 3.715 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/6.788, allocations: 406.5 kB / 3.715 GB, free: 217.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/6.788, allocations: 237.8 kB / 3.715 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/6.788, allocations: 107.8 kB / 3.715 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/6.788, allocations: 40.53 kB / 3.715 GB, free: 217 MB / 1.151 GB Notification: Performance of pre-optimization done (n=39): time 2.185e-06/6.788, allocations: 0 / 3.715 GB, free: 217 MB / 1.151 GB Notification: Performance of matching and sorting (n=41): time 0.004193/6.792, allocations: 1.472 MB / 3.717 GB, free: 215.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/6.792, allocations: 55.41 kB / 3.717 GB, free: 215.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/6.793, allocations: 0.5036 MB / 3.717 GB, free: 214.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/6.793, allocations: 25.7 kB / 3.717 GB, free: 214.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/6.793, allocations: 363 kB / 3.718 GB, free: 214.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/6.794, allocations: 138 kB / 3.718 GB, free: 214.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/6.794, allocations: 4 kB / 3.718 GB, free: 214.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001155/6.794, allocations: 378.7 kB / 3.718 GB, free: 214 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/6.794, allocations: 205.2 kB / 3.718 GB, free: 213.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/6.794, allocations: 320.8 kB / 3.719 GB, free: 213.4 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.002553/6.797, allocations: 1.025 MB / 3.72 GB, free: 212.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/6.797, allocations: 0 / 3.72 GB, free: 212.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002123/6.799, allocations: 0.8269 MB / 3.721 GB, free: 211.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/6.799, allocations: 4 kB / 3.721 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/6.799, allocations: 4 kB / 3.721 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/6.799, allocations: 132.8 kB / 3.721 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/6.8, allocations: 135.9 kB / 3.721 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/6.802, allocations: 1.75 MB / 3.723 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/6.803, allocations: 83.83 kB / 3.723 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/6.804, allocations: 20.06 kB / 3.723 GB, free: 209.3 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.0002704/6.804, allocations: 124.4 kB / 3.723 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/6.804, allocations: 71.16 kB / 3.723 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/6.804, allocations: 82.62 kB / 3.723 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/6.804, allocations: 7.906 kB / 3.723 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/6.804, allocations: 0 / 3.723 GB, free: 209 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001841/6.806, allocations: 0.7114 MB / 3.724 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/6.81, allocations: 1.703 MB / 3.725 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/6.81, allocations: 4 kB / 3.725 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/6.81, allocations: 120.2 kB / 3.725 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/6.811, allocations: 128.9 kB / 3.726 GB, free: 206.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/6.811, allocations: 16 kB / 3.726 GB, free: 206.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/6.813, allocations: 1.732 MB / 3.727 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/6.813, allocations: 4 kB / 3.727 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002294/6.815, allocations: 1.276 MB / 3.728 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004038/6.815, allocations: 212.2 kB / 3.729 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/6.816, allocations: 11.98 kB / 3.729 GB, free: 202.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009804/6.817, allocations: 87.83 kB / 3.729 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/6.817, allocations: 39.81 kB / 3.729 GB, free: 202.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/6.817, allocations: 27.98 kB / 3.729 GB, free: 202.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005093/6.817, allocations: 399.1 kB / 3.729 GB, free: 202.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001502/6.819, allocations: 351.9 kB / 3.73 GB, free: 201.8 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.002414/6.821, allocations: 1.514 MB / 3.731 GB, free: 200.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001038/6.822, allocations: 0.5822 MB / 3.732 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/6.822, allocations: 0 / 3.732 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004379/6.823, allocations: 347 kB / 3.732 GB, free: 199.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/6.825, allocations: 369.5 kB / 3.732 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/6.829, allocations: 1.428 MB / 3.734 GB, free: 197.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009376/6.83, allocations: 1.128 MB / 3.735 GB, free: 196.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.092e-06/6.83, allocations: 4 kB / 3.735 GB, free: 196.5 MB / 1.151 GB Notification: Performance of Templates: time 0.03472/6.865, allocations: 22.73 MB / 3.757 GB, free: 174 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches