Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState") [: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: 13.66 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.001176/0.001176, allocations: 195.7 kB / 487 MB, free: 5.391 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.398/1.398, allocations: 221.3 MB / 0.7819 GB, free: 1.469 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.001085/0.001085, allocations: 106.5 kB / 0.9213 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/8.175e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2681, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.559/4.828, allocations: 1.927 GB / 3.132 GB, free: 375.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/4.828, allocations: 84.7 kB / 3.132 GB, free: 375.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.605/7.433, allocations: 0.8013 GB / 3.934 GB, free: 227.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.098e-05/7.433, allocations: 34.22 kB / 3.934 GB, free: 227.4 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002481/7.435, allocations: 1.223 MB / 3.935 GB, free: 227 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/7.435, allocations: 6.875 kB / 3.935 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/7.437, allocations: 275.3 kB / 3.935 GB, free: 227 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/7.439, allocations: 0.8127 MB / 3.936 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/7.439, allocations: 18.19 kB / 3.936 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/7.439, allocations: 36.53 kB / 3.936 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009564/7.44, allocations: 0.5769 MB / 3.937 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/7.441, allocations: 0.5264 MB / 3.937 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/7.441, allocations: 3.688 kB / 3.937 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/7.441, allocations: 0 / 3.937 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/7.441, allocations: 11.44 kB / 3.937 GB, free: 226.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/7.445, allocations: 2.649 MB / 3.94 GB, free: 225.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000906/7.446, allocations: 483.2 kB / 3.94 GB, free: 225.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/7.446, allocations: 336 kB / 3.941 GB, free: 225.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009622/7.447, allocations: 0.6361 MB / 3.941 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/7.447, allocations: 43.62 kB / 3.941 GB, free: 224.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 4.017e-06/7.447, allocations: 0 / 3.941 GB, free: 224.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.002736/7.45, allocations: 0.948 MB / 3.942 GB, free: 224.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/7.45, allocations: 62.12 kB / 3.942 GB, free: 224.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005986/7.451, allocations: 462 kB / 3.943 GB, free: 224.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/7.451, allocations: 25.7 kB / 3.943 GB, free: 224.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/7.451, allocations: 248.2 kB / 3.943 GB, free: 224.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/7.451, allocations: 151.8 kB / 3.943 GB, free: 224.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/7.451, allocations: 3.938 kB / 3.943 GB, free: 224.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001006/7.451, allocations: 377.2 kB / 3.943 GB, free: 223.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/7.452, allocations: 229.4 kB / 3.944 GB, free: 223.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/7.452, allocations: 346.8 kB / 3.944 GB, free: 223.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006157/7.453, allocations: 356.4 kB / 3.944 GB, free: 223.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/7.453, allocations: 3.812 kB / 3.944 GB, free: 223.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00141/7.454, allocations: 0.7924 MB / 3.945 GB, free: 223.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/7.454, allocations: 279.4 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/7.454, allocations: 0 / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/7.454, allocations: 57.39 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/7.455, allocations: 97.88 kB / 3.945 GB, free: 223.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000475/7.456, allocations: 0.6561 MB / 3.946 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008595/7.456, allocations: 78.86 kB / 3.946 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/7.456, allocations: 24.38 kB / 3.946 GB, free: 222.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/7.456, allocations: 3.594 kB / 3.946 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/7.458, allocations: 0.6627 MB / 3.947 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/7.458, allocations: 3.906 kB / 3.947 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/7.458, allocations: 66.12 kB / 3.947 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/7.458, allocations: 105.7 kB / 3.947 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/7.46, allocations: 1.629 MB / 3.949 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007528/7.46, allocations: 73.52 kB / 3.949 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/7.461, allocations: 21.67 kB / 3.949 GB, free: 221.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (43): * Single equations (assignments): 42 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001662/7.461, allocations: 119.4 kB / 3.949 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/7.461, allocations: 75.31 kB / 3.949 GB, free: 221.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/7.462, allocations: 0.8307 MB / 3.95 GB, free: 221.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/7.462, allocations: 3.969 kB / 3.95 GB, free: 221.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/7.462, allocations: 3.844 kB / 3.95 GB, free: 221.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/7.462, allocations: 3.797 kB / 3.95 GB, free: 221.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/7.465, allocations: 1.677 MB / 3.951 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/7.465, allocations: 3.594 kB / 3.951 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/7.465, allocations: 92.39 kB / 3.951 GB, free: 221 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/7.466, allocations: 62.72 kB / 3.952 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/7.466, allocations: 10.86 kB / 3.952 GB, free: 220.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002869/7.466, allocations: 0.6047 MB / 3.952 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/7.466, allocations: 4.75 kB / 3.952 GB, free: 220.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00147/7.467, allocations: 1.321 MB / 3.953 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/7.468, allocations: 203.7 kB / 3.954 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/7.468, allocations: 7.469 kB / 3.954 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/7.469, allocations: 93.98 kB / 3.954 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/7.469, allocations: 36.58 kB / 3.954 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/7.469, allocations: 17.84 kB / 3.954 GB, free: 219.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003422/7.469, allocations: 361.9 kB / 3.954 GB, free: 219.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001586/7.471, allocations: 0.5285 MB / 3.955 GB, free: 219.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002961/7.474, allocations: 2.385 MB / 3.957 GB, free: 219 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001517/7.475, allocations: 0.97 MB / 3.958 GB, free: 218.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/7.475, allocations: 0 / 3.958 GB, free: 218.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004295/7.476, allocations: 284.8 kB / 3.958 GB, free: 218.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/7.478, allocations: 455.6 kB / 3.959 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/7.483, allocations: 1.527 MB / 3.96 GB, free: 218.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/7.484, allocations: 1.067 MB / 3.961 GB, free: 217.8 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/7.484, allocations: 0 / 3.961 GB, free: 217.8 MB / 1.151 GB Notification: Performance of Templates: time 0.04962/7.534, allocations: 30.24 MB / 3.991 GB, free: 217.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches