Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.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_latest_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_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.39/2.39, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001608/0.001608, allocations: 178.5 kB / 0.4902 GB, free: 2.27 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.673/1.673, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.001146/0.001146, allocations: 104.1 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 14.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3709, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/1.767, allocations: 482.3 MB / 1.7 GB, free: 13.03 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/1.768, allocations: 99.97 kB / 1.7 GB, free: 12.98 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.734/5.502, allocations: 0.9521 GB / 2.652 GB, free: 102 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.649e-06/5.502, allocations: 3.984 kB / 2.652 GB, free: 102 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005772/5.502, allocations: 136.7 kB / 2.653 GB, free: 101.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.02056/5.523, allocations: 5.305 MB / 2.658 GB, free: 96.55 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/5.523, allocations: 16.02 kB / 2.658 GB, free: 96.54 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/5.528, allocations: 0.5825 MB / 2.658 GB, free: 95.95 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0133/5.541, allocations: 4.06 MB / 2.662 GB, free: 91.93 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/5.541, allocations: 298.8 kB / 2.663 GB, free: 91.66 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/5.543, allocations: 398.8 kB / 2.663 GB, free: 91.29 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/5.554, allocations: 6.01 MB / 2.669 GB, free: 85.03 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.585e-05/5.554, allocations: 19.78 kB / 2.669 GB, free: 85.01 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005771/5.555, allocations: 167.9 kB / 2.669 GB, free: 84.84 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003906/5.555, allocations: 378 kB / 2.669 GB, free: 84.48 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/5.565, allocations: 5.332 MB / 2.675 GB, free: 79.14 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.04458/5.61, allocations: 25.03 MB / 2.699 GB, free: 52.47 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007767/5.618, allocations: 4.486 MB / 2.703 GB, free: 48.04 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02846/5.646, allocations: 12.41 MB / 2.715 GB, free: 34.61 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004186/5.65, allocations: 2.229 MB / 2.718 GB, free: 32.34 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004268/5.655, allocations: 0.6721 MB / 2.718 GB, free: 31.67 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 2.073e-05/5.655, allocations: 0 / 2.718 GB, free: 31.67 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.03194/5.687, allocations: 13.17 MB / 2.731 GB, free: 18.43 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/5.687, allocations: 111.7 kB / 2.731 GB, free: 18.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006205/5.693, allocations: 2.813 MB / 2.734 GB, free: 15.51 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007807/5.694, allocations: 101.7 kB / 2.734 GB, free: 15.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002133/5.696, allocations: 2.053 MB / 2.736 GB, free: 13.33 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/5.697, allocations: 1.155 MB / 2.737 GB, free: 12.16 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005684/5.698, allocations: 83.94 kB / 2.737 GB, free: 12.07 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002867/5.698, allocations: 474.5 kB / 2.738 GB, free: 11.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003295/5.701, allocations: 1.909 MB / 2.74 GB, free: 9.684 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003909/5.705, allocations: 2.96 MB / 2.743 GB, free: 6.289 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003909/5.709, allocations: 2.418 MB / 2.745 GB, free: 3.859 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.512e-05/5.709, allocations: 12 kB / 2.745 GB, free: 3.848 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01061/5.72, allocations: 5.524 MB / 2.75 GB, free: 14.29 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.005168/5.725, allocations: 12.19 MB / 2.762 GB, free: 1.07 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.483e-05/5.725, allocations: 28 kB / 2.762 GB, free: 1.043 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-05/5.725, allocations: 52 kB / 2.762 GB, free: 0.9922 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.8456/6.571, allocations: 4.214 MB / 2.766 GB, free: 167.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/6.574, allocations: 3.962 MB / 2.77 GB, free: 164 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007171/6.581, allocations: 382.2 kB / 2.771 GB, free: 164 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/6.583, allocations: 206.1 kB / 2.771 GB, free: 164 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/6.583, allocations: 5.344 kB / 2.771 GB, free: 164 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/6.594, allocations: 5.014 MB / 2.776 GB, free: 163.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/6.594, allocations: 27.28 kB / 2.776 GB, free: 163.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.844e-05/6.594, allocations: 53.62 kB / 2.776 GB, free: 163.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007402/6.602, allocations: 1.371 MB / 2.777 GB, free: 163.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001445/6.602, allocations: 63.92 kB / 2.777 GB, free: 163.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006405/6.608, allocations: 381.8 kB / 2.778 GB, free: 163.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/6.61, allocations: 205.6 kB / 2.778 GB, free: 163.9 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.004793/6.615, allocations: 1.238 MB / 2.779 GB, free: 163.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001744/6.617, allocations: 407.9 kB / 2.779 GB, free: 163.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/6.63, allocations: 5.412 MB / 2.785 GB, free: 163.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.487e-05/6.63, allocations: 44.17 kB / 2.785 GB, free: 163.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/6.63, allocations: 0.625 kB / 2.785 GB, free: 163.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006839/6.637, allocations: 4.284 MB / 2.789 GB, free: 163.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/6.659, allocations: 11.96 MB / 2.801 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/6.659, allocations: 12.88 kB / 2.801 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0341/6.694, allocations: 3.84 MB / 2.804 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.89e-05/6.694, allocations: 28.5 kB / 2.804 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008776/6.695, allocations: 115.1 kB / 2.804 GB, free: 162.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/6.696, allocations: 3.856 MB / 2.808 GB, free: 158.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/6.697, allocations: 22.41 kB / 2.808 GB, free: 158.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/6.708, allocations: 9.425 MB / 2.817 GB, free: 156.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003393/6.712, allocations: 0.9799 MB / 2.818 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000945/6.713, allocations: 100.2 kB / 2.819 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/6.716, allocations: 276.9 kB / 2.819 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/6.717, allocations: 272.3 kB / 2.819 GB, free: 156.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003754/6.717, allocations: 171.7 kB / 2.819 GB, free: 156.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003376/6.721, allocations: 2.114 MB / 2.821 GB, free: 156.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.5e-07/6.721, allocations: 0 / 2.821 GB, free: 156.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01189/6.733, allocations: 2.632 MB / 2.824 GB, free: 156.1 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.006556/6.739, allocations: 1.941 MB / 2.826 GB, free: 155.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0738/6.813, allocations: 11.8 MB / 2.837 GB, free: 155.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.673e-05/6.813, allocations: 3.594 kB / 2.837 GB, free: 155.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.05812/6.871, allocations: 6.749 MB / 2.844 GB, free: 155.8 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01095/6.882, allocations: 1.581 MB / 2.845 GB, free: 155.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/6.91, allocations: 12.23 MB / 2.857 GB, free: 151.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003423/6.914, allocations: 3.135 MB / 2.86 GB, free: 150.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.009716/6.923, allocations: 2.533 MB / 2.863 GB, free: 150.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/6.925, allocations: 389.8 kB / 2.863 GB, free: 150.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.242e-06/6.925, allocations: 1.688 kB / 2.863 GB, free: 150.3 MB / 1.182 GB Notification: Performance of Templates: time 0.1412/7.067, allocations: 84.98 MB / 2.946 GB, free: 146 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches