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.388/2.388, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001523/0.001523, allocations: 177.7 kB / 498.1 MB, free: 5.77 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.714/1.714, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001134/0.001134, allocations: 101.9 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003965, allocations: 10.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2938, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.502/4.796, allocations: 1.928 GB / 3.151 GB, free: 59.52 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/4.796, allocations: 98.09 kB / 3.151 GB, free: 59.46 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.156/7.952, allocations: 0.8017 GB / 3.953 GB, free: 165.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.845e-06/7.952, allocations: 0 / 3.953 GB, free: 165.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001317/7.952, allocations: 23.98 kB / 3.953 GB, free: 165.3 MB / 1.167 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.004825/7.957, allocations: 1.372 MB / 3.954 GB, free: 163.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/7.957, allocations: 12.03 kB / 3.954 GB, free: 163.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/7.959, allocations: 286.1 kB / 3.954 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/7.962, allocations: 0.7649 MB / 3.955 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/7.962, allocations: 41 kB / 3.955 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/7.962, allocations: 52 kB / 3.955 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/7.963, allocations: 0.6115 MB / 3.956 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/7.963, allocations: 0 / 3.956 GB, free: 162.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/7.963, allocations: 23.98 kB / 3.956 GB, free: 162 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/7.963, allocations: 12 kB / 3.956 GB, free: 162 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/7.965, allocations: 0.6324 MB / 3.956 GB, free: 161.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004128/7.969, allocations: 2.667 MB / 3.959 GB, free: 158.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/7.97, allocations: 0.5324 MB / 3.959 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/7.971, allocations: 400.7 kB / 3.96 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/7.971, allocations: 34.94 kB / 3.96 GB, free: 157.5 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001176/7.972, allocations: 299.3 kB / 3.96 GB, free: 157.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 5.119e-06/7.972, allocations: 0 / 3.96 GB, free: 157.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002681/7.975, allocations: 1.173 MB / 3.961 GB, free: 156 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/7.975, allocations: 55.41 kB / 3.961 GB, free: 155.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/7.975, allocations: 0.5702 MB / 3.962 GB, free: 155.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/7.976, allocations: 37.7 kB / 3.962 GB, free: 155.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/7.976, allocations: 347.5 kB / 3.962 GB, free: 154.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/7.976, allocations: 157.7 kB / 3.962 GB, free: 154.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/7.976, allocations: 12 kB / 3.962 GB, free: 154.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001281/7.976, allocations: 318 kB / 3.963 GB, free: 154.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/7.977, allocations: 256.7 kB / 3.963 GB, free: 154.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/7.977, allocations: 376.6 kB / 3.963 GB, free: 153.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/7.978, allocations: 300.5 kB / 3.964 GB, free: 153.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/7.978, allocations: 4 kB / 3.964 GB, free: 153.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001325/7.979, allocations: 0.7574 MB / 3.964 GB, free: 152.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001826/7.979, allocations: 280.8 kB / 3.965 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/7.979, allocations: 0 / 3.965 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/7.979, allocations: 68.8 kB / 3.965 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/7.98, allocations: 103.7 kB / 3.965 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004886/7.98, allocations: 0.6304 MB / 3.965 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/7.981, allocations: 70.98 kB / 3.966 GB, free: 151.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/7.981, allocations: 23.98 kB / 3.966 GB, free: 151.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/7.981, allocations: 4 kB / 3.966 GB, free: 151.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/7.983, allocations: 0.6707 MB / 3.966 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/7.983, allocations: 80 / 3.966 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/7.983, allocations: 60.8 kB / 3.966 GB, free: 150.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/7.983, allocations: 99.89 kB / 3.966 GB, free: 150.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/7.985, allocations: 1.729 MB / 3.968 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009767/7.986, allocations: 79.86 kB / 3.968 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/7.986, allocations: 19.98 kB / 3.968 GB, free: 148.7 MB / 1.167 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 () * Number of clocked 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.0005089/7.987, allocations: 304.9 kB / 3.968 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/7.987, allocations: 75.16 kB / 3.969 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/7.989, allocations: 0.8187 MB / 3.969 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/7.989, allocations: 4 kB / 3.969 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/7.989, allocations: 0 / 3.969 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/7.989, allocations: 3.984 kB / 3.969 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/7.991, allocations: 1.743 MB / 3.971 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/7.991, allocations: 4 kB / 3.971 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/7.992, allocations: 96.22 kB / 3.971 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/7.992, allocations: 64.81 kB / 3.971 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/7.992, allocations: 12 kB / 3.971 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003161/7.992, allocations: 0.5991 MB / 3.972 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/7.992, allocations: 4 kB / 3.972 GB, free: 144.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/7.994, allocations: 1.34 MB / 3.973 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/7.994, allocations: 208 kB / 3.973 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/7.994, allocations: 11.95 kB / 3.973 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/7.995, allocations: 91.84 kB / 3.973 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/7.995, allocations: 43.89 kB / 3.973 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/7.995, allocations: 23.98 kB / 3.973 GB, free: 143 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005308/7.996, allocations: 463 kB / 3.974 GB, free: 142.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/7.996, allocations: 0 / 3.974 GB, free: 142.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00214/7.998, allocations: 0.6009 MB / 3.974 GB, free: 141.9 MB / 1.167 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 () * Number of clocked 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.00289/8.001, allocations: 2.119 MB / 3.977 GB, free: 139.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001852/8.002, allocations: 1.057 MB / 3.978 GB, free: 138.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/8.003, allocations: 7.938 kB / 3.978 GB, free: 138.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/8.003, allocations: 324.1 kB / 3.978 GB, free: 138.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/8.005, allocations: 0.501 MB / 3.978 GB, free: 137.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005501/8.011, allocations: 2.069 MB / 3.98 GB, free: 135.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/8.011, allocations: 0.9816 MB / 3.981 GB, free: 134.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001086/8.012, allocations: 234 kB / 3.982 GB, free: 134.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/8.013, allocations: 67.42 kB / 3.982 GB, free: 134.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.283e-06/8.013, allocations: 0 / 3.982 GB, free: 134.3 MB / 1.167 GB Notification: Performance of Templates: time 0.05441/8.067, allocations: 40.75 MB / 4.021 GB, free: 93.79 MB / 1.167 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