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.239/2.239, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001163/0.001163, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.0009711/0.0009712, allocations: 91.91 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.479e-05/4.482e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.445/1.787, allocations: 482.2 MB / 1.69 GB, free: 152 kB / 1.135 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.787, allocations: 96.53 kB / 1.69 GB, free: 56 kB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 4.562/6.349, allocations: 0.9501 GB / 2.64 GB, free: 145.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/6.35, allocations: 3.281 kB / 2.64 GB, free: 145.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006932/6.35, allocations: 138.8 kB / 2.64 GB, free: 145.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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.02081/6.371, allocations: 4.645 MB / 2.645 GB, free: 143.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/6.371, allocations: 9.75 kB / 2.645 GB, free: 143.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/6.376, allocations: 0.5799 MB / 2.645 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/6.391, allocations: 4.048 MB / 2.649 GB, free: 143.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003666/6.391, allocations: 292.4 kB / 2.649 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00196/6.393, allocations: 392.1 kB / 2.65 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/6.405, allocations: 5.948 MB / 2.656 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/6.405, allocations: 16.56 kB / 2.656 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006205/6.405, allocations: 175.5 kB / 2.656 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/6.406, allocations: 381.2 kB / 2.656 GB, free: 142.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009604/6.415, allocations: 5.223 MB / 2.661 GB, free: 142.2 MB / 1.167 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.03809/6.453, allocations: 25.03 MB / 2.686 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007323/6.461, allocations: 4.434 MB / 2.69 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003559/6.464, allocations: 2.331 MB / 2.692 GB, free: 129 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02268/6.487, allocations: 12.54 MB / 2.704 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003233/6.49, allocations: 2.201 MB / 2.707 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00373/6.494, allocations: 0.6689 MB / 2.707 GB, free: 123.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 1.595e-05/6.494, allocations: 2.156 kB / 2.707 GB, free: 123.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.02672/6.521, allocations: 11.47 MB / 2.719 GB, free: 122 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/6.521, allocations: 109 kB / 2.719 GB, free: 121.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004428/6.526, allocations: 2.773 MB / 2.721 GB, free: 121.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009467/6.526, allocations: 95.98 kB / 2.721 GB, free: 121.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/6.528, allocations: 2.06 MB / 2.723 GB, free: 120.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/6.53, allocations: 1.158 MB / 2.725 GB, free: 120.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/6.53, allocations: 82.19 kB / 2.725 GB, free: 120.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001969/6.53, allocations: 470.5 kB / 2.725 GB, free: 119.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/6.533, allocations: 1.871 MB / 2.727 GB, free: 119.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003478/6.536, allocations: 2.917 MB / 2.73 GB, free: 118.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/6.54, allocations: 2.404 MB / 2.732 GB, free: 118.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.998e-05/6.54, allocations: 9 kB / 2.732 GB, free: 118.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008999/6.549, allocations: 5.434 MB / 2.737 GB, free: 118.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003379/6.552, allocations: 12.19 MB / 2.749 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.794e-05/6.552, allocations: 29.28 kB / 2.749 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/6.552, allocations: 53.25 kB / 2.749 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03359/6.586, allocations: 4.209 MB / 2.754 GB, free: 105.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/6.589, allocations: 3.96 MB / 2.757 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006664/6.595, allocations: 387.3 kB / 2.758 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/6.597, allocations: 204.5 kB / 2.758 GB, free: 101.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/6.597, allocations: 3.719 kB / 2.758 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008669/6.605, allocations: 4.936 MB / 2.763 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.678e-05/6.606, allocations: 26.59 kB / 2.763 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.509e-05/6.606, allocations: 54.72 kB / 2.763 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006065/6.612, allocations: 1.368 MB / 2.764 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.571e-05/6.612, allocations: 68.11 kB / 2.764 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005568/6.617, allocations: 381.7 kB / 2.765 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009957/6.618, allocations: 201.7 kB / 2.765 GB, free: 101.8 MB / 1.167 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 () * 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.001498/6.62, allocations: 365.7 kB / 2.765 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/6.621, allocations: 406.8 kB / 2.766 GB, free: 101.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00962/6.631, allocations: 5.342 MB / 2.771 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.325e-05/6.631, allocations: 45.75 kB / 2.771 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/6.631, allocations: 3.188 kB / 2.771 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005777/6.637, allocations: 4.214 MB / 2.775 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/6.659, allocations: 11.89 MB / 2.787 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/6.659, allocations: 11.47 kB / 2.787 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03088/6.69, allocations: 3.833 MB / 2.79 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.799e-05/6.69, allocations: 26.59 kB / 2.79 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/6.691, allocations: 112 kB / 2.79 GB, free: 99.93 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/6.693, allocations: 3.865 MB / 2.794 GB, free: 96.42 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.409e-05/6.693, allocations: 18.53 kB / 2.794 GB, free: 96.42 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/6.709, allocations: 9.338 MB / 2.803 GB, free: 93.72 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00348/6.712, allocations: 0.985 MB / 2.804 GB, free: 93.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00122/6.714, allocations: 96.47 kB / 2.804 GB, free: 93.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003891/6.718, allocations: 275.9 kB / 2.805 GB, free: 93.38 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005427/6.718, allocations: 278.1 kB / 2.805 GB, free: 93.36 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004346/6.719, allocations: 170.2 kB / 2.805 GB, free: 93.36 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00338/6.722, allocations: 2.065 MB / 2.807 GB, free: 93.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.01e-07/6.722, allocations: 0 / 2.807 GB, free: 93.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01116/6.733, allocations: 2.629 MB / 2.81 GB, free: 93.03 MB / 1.167 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) * 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.00472/6.738, allocations: 1.878 MB / 2.811 GB, free: 92.63 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.05796/6.796, allocations: 11.81 MB / 2.823 GB, free: 92.52 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.563e-05/6.796, allocations: 7.344 kB / 2.823 GB, free: 92.52 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04674/6.843, allocations: 6.712 MB / 2.83 GB, free: 92.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009575/6.852, allocations: 1.568 MB / 2.831 GB, free: 92.49 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/6.87, allocations: 8.984 MB / 2.84 GB, free: 89.89 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002616/6.873, allocations: 3.141 MB / 2.843 GB, free: 88.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01115/6.884, allocations: 2.958 MB / 2.846 GB, free: 88.58 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002036/6.886, allocations: 338.1 kB / 2.846 GB, free: 88.55 MB / 1.167 GB Notification: Performance of SimCode: time 1.103e-06/6.886, allocations: 0 / 2.846 GB, free: 88.55 MB / 1.167 GB Notification: Performance of Templates: time 0.1494/7.036, allocations: 91.96 MB / 2.936 GB, free: 47.73 MB / 1.167 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