Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem_p1.T|pip0.port_a.m_flow|senTem_p2.T|pip2.port_a.m_flow|senTem_p3.T|pip3.port_a.m_flow|senTem_p4.T|pip4.port_a.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem_p1.T|pip0.port_a.m_flow|senTem_p2.T|pip2.port_a.m_flow|senTem_p3.T|pip3.port_a.m_flow|senTem_p4.T|pip4.port_a.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001255/0.001255, allocations: 181.1 kB / 498.1 MB, free: 5.711 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.708/1.708, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0012/0.0012, allocations: 100.1 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 6.906 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3485, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.701, allocations: 481.5 MB / 1.693 GB, free: 12.78 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/1.701, allocations: 101.3 kB / 1.693 GB, free: 12.72 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.787/5.488, allocations: 0.9521 GB / 2.645 GB, free: 120.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.547e-06/5.488, allocations: 0 / 2.645 GB, free: 120.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007523/5.489, allocations: 139.1 kB / 2.645 GB, free: 120.8 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.02379/5.513, allocations: 5.308 MB / 2.651 GB, free: 115.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/5.513, allocations: 8.031 kB / 2.651 GB, free: 115.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/5.518, allocations: 0.5872 MB / 2.651 GB, free: 114.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/5.534, allocations: 4.065 MB / 2.655 GB, free: 110.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007872/5.535, allocations: 290.5 kB / 2.655 GB, free: 110.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003711/5.539, allocations: 398.1 kB / 2.656 GB, free: 110.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/5.56, allocations: 6.014 MB / 2.662 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002958/5.56, allocations: 15.78 kB / 2.662 GB, free: 104.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002003/5.562, allocations: 171.2 kB / 2.662 GB, free: 103.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005575/5.563, allocations: 380.8 kB / 2.662 GB, free: 103.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/5.574, allocations: 5.318 MB / 2.667 GB, free: 98.21 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.03904/5.613, allocations: 25.05 MB / 2.692 GB, free: 71.83 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/5.62, allocations: 4.485 MB / 2.696 GB, free: 67.44 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02597/5.646, allocations: 12.42 MB / 2.708 GB, free: 54.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004283/5.65, allocations: 2.225 MB / 2.711 GB, free: 51.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004232/5.655, allocations: 0.6738 MB / 2.711 GB, free: 51.26 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 2.029e-05/5.655, allocations: 4 kB / 2.711 GB, free: 51.25 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.03522/5.69, allocations: 13.17 MB / 2.724 GB, free: 38.02 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/5.69, allocations: 111.7 kB / 2.724 GB, free: 37.89 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00727/5.697, allocations: 2.805 MB / 2.727 GB, free: 35.11 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001179/5.699, allocations: 93.7 kB / 2.727 GB, free: 35.01 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002248/5.701, allocations: 2.058 MB / 2.729 GB, free: 32.94 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00183/5.703, allocations: 1.157 MB / 2.73 GB, free: 31.79 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000858/5.704, allocations: 87.94 kB / 2.73 GB, free: 31.71 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003354/5.704, allocations: 466.6 kB / 2.731 GB, free: 31.24 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/5.707, allocations: 1.913 MB / 2.733 GB, free: 29.32 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004299/5.712, allocations: 2.963 MB / 2.735 GB, free: 25.92 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00416/5.716, allocations: 2.426 MB / 2.738 GB, free: 23.48 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.24e-05/5.716, allocations: 8 kB / 2.738 GB, free: 23.48 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01121/5.727, allocations: 5.515 MB / 2.743 GB, free: 17.93 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002878/5.73, allocations: 12.2 MB / 2.755 GB, free: 4.719 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.57e-05/5.73, allocations: 28 kB / 2.755 GB, free: 4.691 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.326e-05/5.73, allocations: 52 kB / 2.755 GB, free: 4.641 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03607/5.766, allocations: 4.218 MB / 2.759 GB, free: 432 kB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/5.77, allocations: 3.965 MB / 2.763 GB, free: 12.32 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006996/5.777, allocations: 387.6 kB / 2.764 GB, free: 11.94 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001721/5.779, allocations: 203.9 kB / 2.764 GB, free: 11.74 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/5.779, allocations: 6.031 kB / 2.764 GB, free: 11.73 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01495/5.794, allocations: 5.011 MB / 2.769 GB, free: 6.703 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/5.794, allocations: 28 kB / 2.769 GB, free: 6.676 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.521e-05/5.794, allocations: 52 kB / 2.769 GB, free: 6.625 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007359/5.801, allocations: 1.37 MB / 2.77 GB, free: 5.254 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001307/5.802, allocations: 71.73 kB / 2.77 GB, free: 5.184 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005951/5.808, allocations: 379.4 kB / 2.77 GB, free: 4.812 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/5.809, allocations: 199.9 kB / 2.771 GB, free: 4.617 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005143/5.814, allocations: 1.247 MB / 2.772 GB, free: 3.359 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002141/5.816, allocations: 406.5 kB / 2.772 GB, free: 2.961 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9197/6.736, allocations: 5.407 MB / 2.778 GB, free: 172.8 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.037e-05/6.736, allocations: 42.22 kB / 2.778 GB, free: 172.8 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/6.736, allocations: 3.094 kB / 2.778 GB, free: 172.8 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008553/6.745, allocations: 4.282 MB / 2.782 GB, free: 172.5 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03248/6.777, allocations: 11.96 MB / 2.793 GB, free: 171.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/6.777, allocations: 12.62 kB / 2.793 GB, free: 171.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03581/6.813, allocations: 3.843 MB / 2.797 GB, free: 171.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.897e-05/6.813, allocations: 26.97 kB / 2.797 GB, free: 171.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001036/6.814, allocations: 114.6 kB / 2.797 GB, free: 171.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/6.816, allocations: 3.863 MB / 2.801 GB, free: 168.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.178e-05/6.816, allocations: 20.78 kB / 2.801 GB, free: 168.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/6.829, allocations: 9.422 MB / 2.81 GB, free: 165.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003985/6.833, allocations: 0.9855 MB / 2.811 GB, free: 165.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/6.834, allocations: 93.41 kB / 2.811 GB, free: 165.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004492/6.839, allocations: 276.7 kB / 2.812 GB, free: 165.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000572/6.839, allocations: 272.4 kB / 2.812 GB, free: 165.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004806/6.84, allocations: 175.7 kB / 2.812 GB, free: 165.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003955/6.844, allocations: 2.106 MB / 2.814 GB, free: 165.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 9.32e-07/6.844, allocations: 2.25 kB / 2.814 GB, free: 165.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01503/6.859, allocations: 2.633 MB / 2.817 GB, free: 165.4 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006654/6.866, allocations: 1.929 MB / 2.819 GB, free: 165.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.06792/6.934, allocations: 11.8 MB / 2.83 GB, free: 165.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.155e-05/6.934, allocations: 4.969 kB / 2.83 GB, free: 165.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0571/6.991, allocations: 6.751 MB / 2.837 GB, free: 165.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01182/7.003, allocations: 1.571 MB / 2.838 GB, free: 165.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/7.032, allocations: 12.22 MB / 2.85 GB, free: 160.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005164/7.037, allocations: 3.138 MB / 2.853 GB, free: 159.7 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01267/7.05, allocations: 2.532 MB / 2.856 GB, free: 159.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/7.053, allocations: 390.4 kB / 2.856 GB, free: 159.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.463e-06/7.053, allocations: 1.969 kB / 2.856 GB, free: 159.7 MB / 1.182 GB Notification: Performance of Templates: time 0.1705/7.223, allocations: 84.99 MB / 2.939 GB, free: 155.7 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches