Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [: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.142/2.142, allocations: 387.2 MB / 394.5 MB, free: 4.598 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 181.3 kB / 487 MB, free: 11.16 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.3 MB / 0.7819 GB, free: 4.121 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 99.14 kB / 0.9213 GB, free: 5.207 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 0 / 1.066 GB, free: 141.2 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3087, allocations: 142.3 MB / 1.205 GB, free: 14.88 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/5.56, allocations: 1.981 GB / 3.186 GB, free: 211.8 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/5.561, allocations: 81.33 kB / 3.186 GB, free: 211.7 MB / 1.143 GB Notification: Performance of FrontEnd: time 1.593/7.154, allocations: 398.9 MB / 3.576 GB, free: 229.3 MB / 1.143 GB Notification: Performance of Transformations before backend: time 4.744e-05/7.154, allocations: 14.75 kB / 3.576 GB, free: 229.3 MB / 1.143 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002057/7.156, allocations: 0.8777 MB / 3.577 GB, free: 228.6 MB / 1.143 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/7.156, allocations: 9.219 kB / 3.577 GB, free: 228.6 MB / 1.143 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/7.158, allocations: 286.9 kB / 3.577 GB, free: 228.5 MB / 1.143 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/7.159, allocations: 496.8 kB / 3.577 GB, free: 228.1 MB / 1.143 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/7.159, allocations: 92.5 kB / 3.577 GB, free: 228.1 MB / 1.143 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/7.159, allocations: 24.12 kB / 3.577 GB, free: 228.1 MB / 1.143 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009393/7.16, allocations: 391.4 kB / 3.578 GB, free: 227.9 MB / 1.143 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009733/7.161, allocations: 497.8 kB / 3.578 GB, free: 227.6 MB / 1.143 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/7.161, allocations: 0.9688 kB / 3.578 GB, free: 227.6 MB / 1.143 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/7.161, allocations: 2.188 kB / 3.578 GB, free: 227.6 MB / 1.143 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/7.161, allocations: 16.19 kB / 3.578 GB, free: 227.6 MB / 1.143 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/7.165, allocations: 2.079 MB / 3.58 GB, free: 225.9 MB / 1.143 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/7.166, allocations: 145.2 kB / 3.58 GB, free: 225.9 MB / 1.143 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/7.166, allocations: 87.33 kB / 3.581 GB, free: 225.8 MB / 1.143 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/7.166, allocations: 2.281 kB / 3.581 GB, free: 225.8 MB / 1.143 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/7.166, allocations: 45.52 kB / 3.581 GB, free: 225.8 MB / 1.143 GB Notification: Performance of pre-optimization done (n=11): time 3.446e-06/7.166, allocations: 0 / 3.581 GB, free: 225.8 MB / 1.143 GB Notification: Performance of matching and sorting (n=11): time 0.001943/7.168, allocations: 436.3 kB / 3.581 GB, free: 225.5 MB / 1.143 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/7.168, allocations: 78.23 kB / 3.581 GB, free: 225.4 MB / 1.143 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/7.168, allocations: 351 kB / 3.581 GB, free: 225.2 MB / 1.143 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/7.168, allocations: 26.7 kB / 3.581 GB, free: 225.2 MB / 1.143 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/7.169, allocations: 264.5 kB / 3.582 GB, free: 225 MB / 1.143 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/7.169, allocations: 41.64 kB / 3.582 GB, free: 224.9 MB / 1.143 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/7.169, allocations: 0 / 3.582 GB, free: 224.9 MB / 1.143 GB Notification: Performance of setup shared object (initialization): time 0.0001094/7.169, allocations: 351 kB / 3.582 GB, free: 224.6 MB / 1.143 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/7.169, allocations: 104.2 kB / 3.582 GB, free: 224.5 MB / 1.143 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/7.169, allocations: 192.8 kB / 3.582 GB, free: 224.4 MB / 1.143 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/7.169, allocations: 128.8 kB / 3.582 GB, free: 224.3 MB / 1.143 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/7.169, allocations: 4.031 kB / 3.582 GB, free: 224.3 MB / 1.143 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001862/7.171, allocations: 0.542 MB / 3.583 GB, free: 224 MB / 1.143 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/7.171, allocations: 9.438 kB / 3.583 GB, free: 224 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/7.171, allocations: 5.875 kB / 3.583 GB, free: 224 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/7.172, allocations: 129.3 kB / 3.583 GB, free: 224 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/7.172, allocations: 78.17 kB / 3.583 GB, free: 224 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/7.175, allocations: 1.734 MB / 3.585 GB, free: 222.4 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/7.175, allocations: 81.72 kB / 3.585 GB, free: 222.4 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/7.175, allocations: 12.72 kB / 3.585 GB, free: 222.4 MB / 1.143 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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.0001802/7.176, allocations: 110.4 kB / 3.585 GB, free: 222.3 MB / 1.143 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.563e-05/7.176, allocations: 39.97 kB / 3.585 GB, free: 222.3 MB / 1.143 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/7.176, allocations: 44.2 kB / 3.585 GB, free: 222.2 MB / 1.143 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/7.176, allocations: 5.062 kB / 3.585 GB, free: 222.2 MB / 1.143 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/7.176, allocations: 0 / 3.585 GB, free: 222.2 MB / 1.143 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/7.176, allocations: 1.281 kB / 3.585 GB, free: 222.2 MB / 1.143 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/7.178, allocations: 0.898 MB / 3.586 GB, free: 221.6 MB / 1.143 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/7.178, allocations: 4.875 kB / 3.586 GB, free: 221.6 MB / 1.143 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/7.178, allocations: 49.33 kB / 3.586 GB, free: 221.6 MB / 1.143 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000355/7.179, allocations: 127.1 kB / 3.586 GB, free: 221.5 MB / 1.143 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/7.179, allocations: 6.266 kB / 3.586 GB, free: 221.5 MB / 1.143 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/7.181, allocations: 1.722 MB / 3.588 GB, free: 220 MB / 1.143 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/7.181, allocations: 5.125 kB / 3.588 GB, free: 220 MB / 1.143 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001747/7.183, allocations: 0.5546 MB / 3.588 GB, free: 219.6 MB / 1.143 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/7.183, allocations: 151.9 kB / 3.589 GB, free: 219.4 MB / 1.143 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/7.183, allocations: 1.219 kB / 3.589 GB, free: 219.4 MB / 1.143 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/7.184, allocations: 66.62 kB / 3.589 GB, free: 219.4 MB / 1.143 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/7.184, allocations: 7.453 kB / 3.589 GB, free: 219.4 MB / 1.143 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/7.184, allocations: 11.95 kB / 3.589 GB, free: 219.4 MB / 1.143 GB Notification: Performance of sort global known variables: time 0.0003865/7.184, allocations: 269.6 kB / 3.589 GB, free: 219.2 MB / 1.143 GB Notification: Performance of remove unused functions: time 0.001382/7.186, allocations: 259.4 kB / 3.589 GB, free: 219.2 MB / 1.143 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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.001976/7.188, allocations: 1.156 MB / 3.59 GB, free: 218.7 MB / 1.143 GB Notification: Performance of simCode: created initialization part: time 0.0007624/7.188, allocations: 331 kB / 3.591 GB, free: 218.5 MB / 1.143 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/7.188, allocations: 1.094 kB / 3.591 GB, free: 218.5 MB / 1.143 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/7.189, allocations: 210.3 kB / 3.591 GB, free: 218.3 MB / 1.143 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/7.19, allocations: 176.4 kB / 3.591 GB, free: 218.2 MB / 1.143 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/7.193, allocations: 0.7121 MB / 3.592 GB, free: 217.8 MB / 1.143 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/7.193, allocations: 0.9116 MB / 3.593 GB, free: 217 MB / 1.143 GB Notification: Performance of SimCode: time 8.82e-07/7.193, allocations: 0 / 3.593 GB, free: 217 MB / 1.143 GB Notification: Performance of Templates: time 0.02482/7.218, allocations: 14.42 MB / 3.607 GB, free: 206 MB / 1.143 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches