Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 1.966/1.966, allocations: 390.4 MB / 397.7 MB, free: 11.15 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.0009815/0.0009815, allocations: 174.7 kB / 490.8 MB, free: 1.855 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.376/1.376, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0009513/0.0009512, allocations: 96.16 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.264e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.26, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.342/4.602, allocations: 1.928 GB / 3.14 GB, free: 383.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/4.603, allocations: 83.95 kB / 3.14 GB, free: 383.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.557/7.16, allocations: 0.8013 GB / 3.941 GB, free: 224.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001079/7.16, allocations: 31.86 kB / 3.941 GB, free: 224.1 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.003371/7.164, allocations: 1.218 MB / 3.942 GB, free: 223.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/7.164, allocations: 7.312 kB / 3.942 GB, free: 223.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/7.165, allocations: 277.2 kB / 3.942 GB, free: 223.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/7.167, allocations: 0.8048 MB / 3.943 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/7.167, allocations: 15.66 kB / 3.943 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/7.168, allocations: 41.75 kB / 3.943 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009281/7.168, allocations: 0.5692 MB / 3.944 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008314/7.169, allocations: 0.5329 MB / 3.944 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/7.169, allocations: 0 / 3.944 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/7.169, allocations: 0 / 3.944 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/7.169, allocations: 11.22 kB / 3.944 GB, free: 223.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003559/7.173, allocations: 2.656 MB / 3.947 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/7.174, allocations: 483.4 kB / 3.947 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/7.174, allocations: 333.1 kB / 3.948 GB, free: 222.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/7.175, allocations: 0.6392 MB / 3.948 GB, free: 221.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/7.175, allocations: 41.03 kB / 3.948 GB, free: 221.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.584e-06/7.175, allocations: 0 / 3.948 GB, free: 221.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.00247/7.177, allocations: 0.9545 MB / 3.949 GB, free: 221.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/7.177, allocations: 55.25 kB / 3.949 GB, free: 221.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/7.178, allocations: 467.8 kB / 3.95 GB, free: 221.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/7.178, allocations: 29.45 kB / 3.95 GB, free: 221.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/7.178, allocations: 242.1 kB / 3.95 GB, free: 220.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/7.178, allocations: 154.5 kB / 3.95 GB, free: 220.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/7.178, allocations: 0 / 3.95 GB, free: 220.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001081/7.178, allocations: 375.2 kB / 3.951 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/7.179, allocations: 232.6 kB / 3.951 GB, free: 220.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/7.179, allocations: 345.8 kB / 3.951 GB, free: 220.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005858/7.18, allocations: 362.7 kB / 3.951 GB, free: 220.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/7.18, allocations: 0 / 3.951 GB, free: 220.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001289/7.181, allocations: 0.79 MB / 3.952 GB, free: 220.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.626e-05/7.181, allocations: 277.4 kB / 3.952 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/7.181, allocations: 0 / 3.952 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/7.181, allocations: 58.38 kB / 3.953 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/7.182, allocations: 101.5 kB / 3.953 GB, free: 220.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004324/7.182, allocations: 0.6504 MB / 3.953 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/7.183, allocations: 83.28 kB / 3.953 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/7.183, allocations: 24.77 kB / 3.953 GB, free: 219.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/7.183, allocations: 7.078 kB / 3.953 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/7.184, allocations: 0.6671 MB / 3.954 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/7.184, allocations: 2.875 kB / 3.954 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/7.184, allocations: 62.78 kB / 3.954 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/7.185, allocations: 101.2 kB / 3.954 GB, free: 219.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/7.186, allocations: 1.622 MB / 3.956 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007257/7.187, allocations: 77.36 kB / 3.956 GB, free: 218.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/7.187, allocations: 23.03 kB / 3.956 GB, free: 218.2 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.0001651/7.187, allocations: 111.3 kB / 3.956 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/7.187, allocations: 76.06 kB / 3.956 GB, free: 218.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/7.189, allocations: 0.8429 MB / 3.957 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/7.189, allocations: 3.312 kB / 3.957 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/7.189, allocations: 0 / 3.957 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/7.189, allocations: 3.5 kB / 3.957 GB, free: 218 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/7.192, allocations: 1.678 MB / 3.958 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/7.192, allocations: 0 / 3.958 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/7.192, allocations: 104.5 kB / 3.959 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001261/7.192, allocations: 45.41 kB / 3.959 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/7.193, allocations: 14.69 kB / 3.959 GB, free: 217.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003088/7.193, allocations: 0.6079 MB / 3.959 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/7.193, allocations: 6.062 kB / 3.959 GB, free: 217.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001564/7.194, allocations: 1.32 MB / 3.961 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/7.195, allocations: 202.8 kB / 3.961 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/7.195, allocations: 6.656 kB / 3.961 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007515/7.196, allocations: 87.95 kB / 3.961 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/7.196, allocations: 43.61 kB / 3.961 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/7.196, allocations: 16.59 kB / 3.961 GB, free: 216.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003992/7.196, allocations: 365 kB / 3.961 GB, free: 216.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001767/7.198, allocations: 0.5257 MB / 3.962 GB, free: 216.3 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.002897/7.201, allocations: 2.383 MB / 3.964 GB, free: 215.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001595/7.203, allocations: 0.9633 MB / 3.965 GB, free: 215.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/7.203, allocations: 3.656 kB / 3.965 GB, free: 215.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/7.203, allocations: 288.2 kB / 3.965 GB, free: 215.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/7.205, allocations: 446.2 kB / 3.966 GB, free: 215.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/7.211, allocations: 1.529 MB / 3.967 GB, free: 215.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/7.211, allocations: 1.068 MB / 3.968 GB, free: 214.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.943e-06/7.211, allocations: 3.656 kB / 3.968 GB, free: 214.4 MB / 1.151 GB Notification: Performance of Templates: time 0.04463/7.256, allocations: 30.25 MB / 3.998 GB, free: 213.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches