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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001246/0.001246, allocations: 176.9 kB / 487.4 MB, free: 5.039 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.608/1.608, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 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.001208/0.001208, allocations: 101.5 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.18e-05/2.182e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3121, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.485/5.798, allocations: 1.927 GB / 3.133 GB, free: 424.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/5.798, allocations: 88.77 kB / 3.133 GB, free: 424.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.325/8.123, allocations: 0.7922 GB / 3.925 GB, free: 51.53 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.547e-06/8.123, allocations: 7.938 kB / 3.925 GB, free: 51.52 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001351/8.124, allocations: 24.12 kB / 3.925 GB, free: 51.5 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.003701/8.127, allocations: 1.216 MB / 3.927 GB, free: 50.24 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/8.127, allocations: 12.02 kB / 3.927 GB, free: 50.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/8.129, allocations: 278.6 kB / 3.927 GB, free: 49.95 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/8.132, allocations: 0.7575 MB / 3.928 GB, free: 49.15 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/8.132, allocations: 12 kB / 3.928 GB, free: 49.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/8.132, allocations: 44 kB / 3.928 GB, free: 49.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001005/8.133, allocations: 0.5375 MB / 3.928 GB, free: 48.56 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/8.134, allocations: 0.4998 MB / 3.929 GB, free: 48.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/8.134, allocations: 0 / 3.929 GB, free: 48.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-05/8.134, allocations: 0 / 3.929 GB, free: 48.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/8.134, allocations: 12 kB / 3.929 GB, free: 48.04 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/8.138, allocations: 2.551 MB / 3.931 GB, free: 45.27 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/8.138, allocations: 488.5 kB / 3.932 GB, free: 44.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/8.139, allocations: 305.5 kB / 3.932 GB, free: 44.48 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/8.139, allocations: 404.7 kB / 3.932 GB, free: 44.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/8.139, allocations: 38.94 kB / 3.932 GB, free: 43.97 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009584/8.14, allocations: 287.3 kB / 3.933 GB, free: 43.69 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.295e-06/8.14, allocations: 3.938 kB / 3.933 GB, free: 43.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.001642/8.142, allocations: 0.7639 MB / 3.933 GB, free: 42.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/8.142, allocations: 55.41 kB / 3.934 GB, free: 42.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/8.143, allocations: 463.7 kB / 3.934 GB, free: 42.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/8.143, allocations: 25.7 kB / 3.934 GB, free: 42.35 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/8.143, allocations: 340.9 kB / 3.934 GB, free: 42.01 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/8.143, allocations: 161.6 kB / 3.934 GB, free: 41.85 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/8.143, allocations: 0 / 3.934 GB, free: 41.85 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001087/8.143, allocations: 386.7 kB / 3.935 GB, free: 41.46 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/8.143, allocations: 212.8 kB / 3.935 GB, free: 41.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/8.144, allocations: 335.8 kB / 3.935 GB, free: 40.89 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/8.144, allocations: 320.5 kB / 3.936 GB, free: 40.57 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/8.144, allocations: 0 / 3.936 GB, free: 40.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001195/8.145, allocations: 0.738 MB / 3.936 GB, free: 39.83 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/8.145, allocations: 272.8 kB / 3.937 GB, free: 39.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/8.145, allocations: 4 kB / 3.937 GB, free: 39.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/8.146, allocations: 52.84 kB / 3.937 GB, free: 39.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/8.146, allocations: 107.8 kB / 3.937 GB, free: 39.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004145/8.147, allocations: 0.6421 MB / 3.937 GB, free: 38.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/8.147, allocations: 67.83 kB / 3.937 GB, free: 38.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/8.147, allocations: 19.98 kB / 3.938 GB, free: 38.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/8.147, allocations: 8 kB / 3.938 GB, free: 38.61 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/8.148, allocations: 0.616 MB / 3.938 GB, free: 38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/8.148, allocations: 0 / 3.938 GB, free: 38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/8.149, allocations: 60.88 kB / 3.938 GB, free: 37.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/8.149, allocations: 99.86 kB / 3.938 GB, free: 37.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/8.15, allocations: 1.662 MB / 3.94 GB, free: 36.06 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/8.151, allocations: 63.92 kB / 3.94 GB, free: 36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/8.151, allocations: 23.98 kB / 3.94 GB, free: 35.98 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.0001545/8.151, allocations: 122 kB / 3.94 GB, free: 35.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/8.151, allocations: 67.16 kB / 3.94 GB, free: 35.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/8.153, allocations: 0.7772 MB / 3.941 GB, free: 34.99 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/8.153, allocations: 8 kB / 3.941 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/8.153, allocations: 0 / 3.941 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/8.153, allocations: 3.984 kB / 3.941 GB, free: 34.98 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/8.155, allocations: 1.593 MB / 3.942 GB, free: 33.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/8.155, allocations: 8.062 kB / 3.942 GB, free: 33.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/8.156, allocations: 91.83 kB / 3.943 GB, free: 33.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/8.156, allocations: 52.81 kB / 3.943 GB, free: 33.15 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/8.156, allocations: 16 kB / 3.943 GB, free: 33.13 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000278/8.156, allocations: 0.6069 MB / 3.943 GB, free: 32.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/8.156, allocations: 7.984 kB / 3.943 GB, free: 32.49 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/8.158, allocations: 1.238 MB / 3.944 GB, free: 31.11 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/8.158, allocations: 196.1 kB / 3.945 GB, free: 30.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/8.158, allocations: 11.89 kB / 3.945 GB, free: 30.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/8.159, allocations: 91.73 kB / 3.945 GB, free: 30.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/8.159, allocations: 35.89 kB / 3.945 GB, free: 30.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/8.159, allocations: 20 kB / 3.945 GB, free: 30.75 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003968/8.159, allocations: 367.2 kB / 3.945 GB, free: 30.39 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.159, allocations: 3.938 kB / 3.945 GB, free: 30.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001796/8.161, allocations: 0.5305 MB / 3.946 GB, free: 29.86 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.003283/8.164, allocations: 2.364 MB / 3.948 GB, free: 27.35 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001435/8.166, allocations: 0.9215 MB / 3.949 GB, free: 26.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/8.166, allocations: 256 / 3.949 GB, free: 26.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/8.166, allocations: 267.7 kB / 3.949 GB, free: 26.15 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/8.169, allocations: 463.9 kB / 3.95 GB, free: 25.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/8.174, allocations: 1.479 MB / 3.951 GB, free: 24.16 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/8.174, allocations: 0.9942 MB / 3.952 GB, free: 23.14 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001248/8.175, allocations: 257.4 kB / 3.952 GB, free: 22.88 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/8.176, allocations: 51.42 kB / 3.952 GB, free: 22.84 MB / 1.151 GB Notification: Performance of SimCode: time 1.542e-06/8.176, allocations: 0 / 3.952 GB, free: 22.84 MB / 1.151 GB Notification: Performance of Templates: time 0.8063/8.982, allocations: 27.41 MB / 3.979 GB, free: 232.7 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