Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.141/1.141, allocations: 249.4 MB / 256.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009839/0.000984, allocations: 188.7 kB / 316 MB, free: 7.203 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.214/1.214, allocations: 205.1 MB / 0.5667 GB, free: 23.57 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.0007603/0.0007603, allocations: 89.73 kB / 0.671 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 6.463e-06/6.482e-06, allocations: 0 / 0.7807 GB, free: 380 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3654, allocations: 106.3 MB / 0.8846 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.57/3.936, allocations: 2.2 GB / 3.084 GB, free: 325.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/3.936, allocations: 89.7 kB / 3.084 GB, free: 325.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874/5.81, allocations: 0.7647 GB / 3.849 GB, free: 156 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.973e-05/5.81, allocations: 31.94 kB / 3.849 GB, free: 156 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002414/5.813, allocations: 1.215 MB / 3.85 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/5.813, allocations: 12.75 kB / 3.85 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/5.814, allocations: 272.9 kB / 3.851 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/5.816, allocations: 0.8066 MB / 3.851 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/5.816, allocations: 15.03 kB / 3.851 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/5.816, allocations: 36.59 kB / 3.851 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000894/5.817, allocations: 0.5787 MB / 3.852 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007987/5.818, allocations: 0.5266 MB / 3.852 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/5.818, allocations: 0 / 3.852 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/5.818, allocations: 3.062 kB / 3.852 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/5.818, allocations: 17.41 kB / 3.852 GB, free: 155 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003206/5.821, allocations: 2.652 MB / 3.855 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/5.822, allocations: 482.6 kB / 3.856 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/5.822, allocations: 339.1 kB / 3.856 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/5.823, allocations: 0.6389 MB / 3.856 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/5.823, allocations: 38.66 kB / 3.857 GB, free: 153 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=45): time 1.814e-06/5.823, allocations: 0 / 3.857 GB, free: 153 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.002231/5.825, allocations: 0.9447 MB / 3.857 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/5.825, allocations: 58.72 kB / 3.857 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/5.826, allocations: 464 kB / 3.858 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/5.826, allocations: 28.05 kB / 3.858 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/5.826, allocations: 237 kB / 3.858 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/5.826, allocations: 156 kB / 3.858 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/5.826, allocations: 0 / 3.858 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.218e-05/5.826, allocations: 374.6 kB / 3.859 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/5.826, allocations: 233 kB / 3.859 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/5.827, allocations: 348.5 kB / 3.859 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/5.827, allocations: 355.7 kB / 3.86 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.827, allocations: 13.95 kB / 3.86 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001217/5.828, allocations: 0.7957 MB / 3.86 GB, free: 152 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.723e-05/5.829, allocations: 273.8 kB / 3.861 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/5.829, allocations: 6.328 kB / 3.861 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001648/5.829, allocations: 58.69 kB / 3.861 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/5.829, allocations: 99.44 kB / 3.861 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/5.83, allocations: 0.6514 MB / 3.861 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/5.83, allocations: 78.77 kB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/5.83, allocations: 21.08 kB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-06/5.83, allocations: 7.281 kB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001072/5.831, allocations: 0.6723 MB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-06/5.831, allocations: 80 / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/5.832, allocations: 61.19 kB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/5.832, allocations: 103.8 kB / 3.862 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/5.833, allocations: 1.616 MB / 3.864 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/5.834, allocations: 80.23 kB / 3.864 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/5.834, allocations: 23.77 kB / 3.864 GB, free: 149.9 MB / 0.8698 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.0001095/5.834, allocations: 119.9 kB / 3.864 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/5.834, allocations: 70.41 kB / 3.864 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/5.835, allocations: 0.8383 MB / 3.865 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/5.836, allocations: 3.938 kB / 3.865 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/5.836, allocations: 3.969 kB / 3.865 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/5.836, allocations: 6.562 kB / 3.865 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/5.838, allocations: 1.683 MB / 3.867 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/5.838, allocations: 3.5 kB / 3.867 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/5.838, allocations: 101 kB / 3.867 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.203e-05/5.838, allocations: 48.5 kB / 3.867 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/5.838, allocations: 7.031 kB / 3.867 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002512/5.839, allocations: 0.613 MB / 3.867 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/5.839, allocations: 3.812 kB / 3.867 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001366/5.84, allocations: 1.313 MB / 3.869 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/5.84, allocations: 202.4 kB / 3.869 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/5.84, allocations: 13.89 kB / 3.869 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006789/5.841, allocations: 86.45 kB / 3.869 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/5.841, allocations: 38.58 kB / 3.869 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/5.841, allocations: 18.66 kB / 3.869 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002783/5.841, allocations: 364 kB / 3.869 GB, free: 148 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001253/5.843, allocations: 0.5272 MB / 3.87 GB, free: 147.9 MB / 0.8698 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.002088/5.845, allocations: 2.377 MB / 3.872 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001152/5.846, allocations: 0.9632 MB / 3.873 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/5.846, allocations: 3.812 kB / 3.873 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003638/5.846, allocations: 283.1 kB / 3.873 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/5.848, allocations: 461.5 kB / 3.874 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004576/5.853, allocations: 1.523 MB / 3.875 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/5.853, allocations: 1.07 MB / 3.876 GB, free: 146 MB / 0.8698 GB Notification: Performance of SimCode: time 2.61e-07/5.853, allocations: 2.656 kB / 3.876 GB, free: 146 MB / 0.8698 GB Notification: Performance of Templates: time 0.03891/5.892, allocations: 30.24 MB / 3.906 GB, free: 136.1 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches