Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 7.098 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.0009792/0.0009792, allocations: 181.3 kB / 316 MB, free: 3.516 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.04/1.04, allocations: 205.1 MB / 0.5667 GB, free: 15.56 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.0009403/0.0009403, allocations: 90.14 kB / 0.671 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.002e-06/6.022e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.149, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.633/3.782, allocations: 2.192 GB / 3.077 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/3.782, allocations: 87.95 kB / 3.077 GB, free: 212 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.539/5.321, allocations: 0.5547 GB / 3.632 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.037e-05/5.321, allocations: 29.78 kB / 3.632 GB, free: 206.7 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001805/5.323, allocations: 1.241 MB / 3.633 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/5.323, allocations: 7.031 kB / 3.633 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/5.325, allocations: 444.8 kB / 3.633 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/5.326, allocations: 0.7982 MB / 3.634 GB, free: 206 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/5.326, allocations: 109.7 kB / 3.634 GB, free: 206 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/5.327, allocations: 43.09 kB / 3.634 GB, free: 206 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/5.328, allocations: 0.6734 MB / 3.635 GB, free: 206 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/5.329, allocations: 0.8165 MB / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/5.329, allocations: 3.906 kB / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/5.329, allocations: 3.562 kB / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/5.329, allocations: 30.27 kB / 3.636 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/5.333, allocations: 3.283 MB / 3.639 GB, free: 204.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/5.334, allocations: 419.2 kB / 3.639 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/5.334, allocations: 236.8 kB / 3.64 GB, free: 204.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/5.334, allocations: 102 kB / 3.64 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/5.334, allocations: 43.69 kB / 3.64 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/5.334, allocations: 0 / 3.64 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=41): time 0.003382/5.338, allocations: 1.456 MB / 3.641 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/5.338, allocations: 55.31 kB / 3.641 GB, free: 204 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/5.338, allocations: 0.5094 MB / 3.642 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/5.338, allocations: 29.58 kB / 3.642 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/5.339, allocations: 364.5 kB / 3.642 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/5.339, allocations: 145.4 kB / 3.642 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/5.339, allocations: 0 / 3.642 GB, free: 203.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/5.339, allocations: 381.1 kB / 3.643 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/5.339, allocations: 205.4 kB / 3.643 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/5.339, allocations: 332.5 kB / 3.643 GB, free: 203.1 MB / 0.8698 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.002172/5.341, allocations: 0.9631 MB / 3.644 GB, free: 203 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/5.341, allocations: 3.844 kB / 3.644 GB, free: 203 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001983/5.343, allocations: 0.8168 MB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/5.344, allocations: 3.844 kB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/5.344, allocations: 3.875 kB / 3.645 GB, free: 203 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/5.344, allocations: 134.1 kB / 3.645 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/5.344, allocations: 141 kB / 3.645 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/5.346, allocations: 1.736 MB / 3.647 GB, free: 201.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/5.347, allocations: 84.34 kB / 3.647 GB, free: 201.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/5.347, allocations: 24.86 kB / 3.647 GB, free: 201.7 MB / 0.8698 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: 14 * 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.0001625/5.348, allocations: 125.3 kB / 3.647 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/5.348, allocations: 77.34 kB / 3.647 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/5.348, allocations: 81.58 kB / 3.647 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/5.348, allocations: 3.281 kB / 3.647 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/5.348, allocations: 0 / 3.647 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/5.35, allocations: 0.7115 MB / 3.648 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/5.353, allocations: 1.705 MB / 3.65 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/5.353, allocations: 7.719 kB / 3.65 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/5.353, allocations: 131.4 kB / 3.65 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/5.354, allocations: 129.2 kB / 3.65 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/5.354, allocations: 9.938 kB / 3.65 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/5.355, allocations: 1.731 MB / 3.652 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/5.355, allocations: 6.344 kB / 3.652 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002141/5.358, allocations: 1.284 MB / 3.653 GB, free: 199.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002956/5.358, allocations: 226.6 kB / 3.653 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/5.358, allocations: 3.969 kB / 3.653 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/5.359, allocations: 91.02 kB / 3.653 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/5.359, allocations: 34.3 kB / 3.653 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/5.359, allocations: 28.16 kB / 3.653 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003524/5.359, allocations: 400.1 kB / 3.654 GB, free: 199.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001097/5.361, allocations: 348.5 kB / 3.654 GB, free: 199.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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.001424/5.362, allocations: 1.507 MB / 3.655 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008111/5.363, allocations: 0.5853 MB / 3.656 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/5.363, allocations: 3.844 kB / 3.656 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003733/5.363, allocations: 344.9 kB / 3.656 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/5.365, allocations: 376.6 kB / 3.657 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/5.368, allocations: 1.444 MB / 3.658 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/5.369, allocations: 1.131 MB / 3.659 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/5.369, allocations: 0 / 3.659 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02816/5.397, allocations: 22.9 MB / 3.682 GB, free: 196.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches