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.374/2.374, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001031/0.001031, allocations: 176.9 kB / 492.3 MB, free: 0.5938 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.574/1.574, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008869/0.0008872, allocations: 96.59 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.134e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2686, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.119/6.388, allocations: 1.928 GB / 3.14 GB, free: 341.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/6.388, allocations: 87.11 kB / 3.14 GB, free: 341.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.26/9.648, allocations: 0.801 GB / 3.941 GB, free: 228.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/9.648, allocations: 0 / 3.941 GB, free: 228.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001316/9.648, allocations: 29.17 kB / 3.941 GB, free: 228.8 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.005037/9.653, allocations: 1.209 MB / 3.943 GB, free: 228.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/9.653, allocations: 14.53 kB / 3.943 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003794/9.657, allocations: 284.1 kB / 3.943 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/9.661, allocations: 0.7495 MB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/9.662, allocations: 43.67 kB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/9.662, allocations: 54.84 kB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/9.665, allocations: 0.574 MB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/9.665, allocations: 3.844 kB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/9.665, allocations: 21.53 kB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/9.665, allocations: 11.84 kB / 3.944 GB, free: 228.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/9.667, allocations: 0.5447 MB / 3.945 GB, free: 228.1 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.008386/9.676, allocations: 2.673 MB / 3.947 GB, free: 226.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/9.677, allocations: 498.9 kB / 3.948 GB, free: 226.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/9.678, allocations: 326.9 kB / 3.948 GB, free: 226.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/9.679, allocations: 401.2 kB / 3.949 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/9.68, allocations: 40.69 kB / 3.949 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002249/9.682, allocations: 299.9 kB / 3.949 GB, free: 226.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 1.211e-05/9.682, allocations: 2.562 kB / 3.949 GB, free: 226.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=45): time 0.003019/9.685, allocations: 0.6956 MB / 3.95 GB, free: 226.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/9.685, allocations: 58.28 kB / 3.95 GB, free: 226.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/9.687, allocations: 0.5567 MB / 3.95 GB, free: 226.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/9.687, allocations: 33.17 kB / 3.95 GB, free: 226 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/9.687, allocations: 351 kB / 3.951 GB, free: 225.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/9.688, allocations: 155.4 kB / 3.951 GB, free: 225.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/9.688, allocations: 9.906 kB / 3.951 GB, free: 225.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001045/9.688, allocations: 320.8 kB / 3.951 GB, free: 225.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/9.689, allocations: 224.5 kB / 3.951 GB, free: 225.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/9.69, allocations: 338.6 kB / 3.952 GB, free: 225.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/9.69, allocations: 259.6 kB / 3.952 GB, free: 225.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/9.69, allocations: 5.422 kB / 3.952 GB, free: 225.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002459/9.693, allocations: 0.6886 MB / 3.952 GB, free: 225.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/9.693, allocations: 278.9 kB / 3.953 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/9.693, allocations: 1.219 kB / 3.953 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/9.693, allocations: 63.47 kB / 3.953 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/9.694, allocations: 94.75 kB / 3.953 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007426/9.695, allocations: 0.6346 MB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/9.697, allocations: 73.8 kB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/9.697, allocations: 28.89 kB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/9.697, allocations: 3.812 kB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002046/9.699, allocations: 0.5835 MB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/9.699, allocations: 4.609 kB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/9.7, allocations: 64.03 kB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009107/9.701, allocations: 95.7 kB / 3.954 GB, free: 224.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/9.703, allocations: 1.715 MB / 3.956 GB, free: 223.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/9.705, allocations: 76.61 kB / 3.956 GB, free: 223.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/9.705, allocations: 24.05 kB / 3.956 GB, free: 223.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.0003127/9.705, allocations: 130.9 kB / 3.956 GB, free: 223 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004075/9.706, allocations: 77.22 kB / 3.956 GB, free: 223 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/9.709, allocations: 0.7552 MB / 3.957 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/9.709, allocations: 5.094 kB / 3.957 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/9.709, allocations: 1.844 kB / 3.957 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/9.709, allocations: 2.391 kB / 3.957 GB, free: 222.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005652/9.715, allocations: 1.671 MB / 3.959 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/9.715, allocations: 3.562 kB / 3.959 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/9.715, allocations: 91.17 kB / 3.959 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/9.716, allocations: 59.78 kB / 3.959 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/9.716, allocations: 21.17 kB / 3.959 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004879/9.716, allocations: 0.598 MB / 3.959 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/9.716, allocations: 10.88 kB / 3.959 GB, free: 222 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/9.719, allocations: 1.224 MB / 3.961 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008431/9.72, allocations: 201.9 kB / 3.961 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/9.72, allocations: 19.47 kB / 3.961 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/9.722, allocations: 94.44 kB / 3.961 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/9.722, allocations: 46.75 kB / 3.961 GB, free: 221.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/9.722, allocations: 19.64 kB / 3.961 GB, free: 221.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001136/9.723, allocations: 448.9 kB / 3.961 GB, free: 221.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.31e-07/9.723, allocations: 0 / 3.961 GB, free: 221.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003905/9.727, allocations: 0.5948 MB / 3.962 GB, free: 221.2 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.005453/9.733, allocations: 2.13 MB / 3.964 GB, free: 220.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002997/9.736, allocations: 0.9668 MB / 3.965 GB, free: 220.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/9.736, allocations: 0 / 3.965 GB, free: 220.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009107/9.737, allocations: 282.3 kB / 3.965 GB, free: 220.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/9.742, allocations: 0.5009 MB / 3.966 GB, free: 220.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009475/9.752, allocations: 1.522 MB / 3.967 GB, free: 220 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/9.753, allocations: 0.987 MB / 3.968 GB, free: 219.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002982/9.756, allocations: 297.2 kB / 3.969 GB, free: 219.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/9.756, allocations: 59.78 kB / 3.969 GB, free: 219.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.463e-06/9.756, allocations: 1.5 kB / 3.969 GB, free: 219.2 MB / 1.151 GB Notification: Performance of Templates: time 0.1178/9.874, allocations: 47.58 MB / 4.015 GB, free: 218.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