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.408/2.408, allocations: 390.5 MB / 398 MB, free: 10.96 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.001554/0.001555, allocations: 188.8 kB / 491.2 MB, free: 1.578 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.789/1.789, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001152/0.001151, allocations: 90.67 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.615e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3338, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/1.812, allocations: 481.5 MB / 1.683 GB, free: 15.32 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.812, allocations: 95.75 kB / 1.683 GB, free: 15.27 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 3.727/5.539, allocations: 0.944 GB / 2.627 GB, free: 15.51 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.244e-06/5.539, allocations: 0 / 2.627 GB, free: 15.51 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005593/5.54, allocations: 135.8 kB / 2.627 GB, free: 15.38 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.01918/5.559, allocations: 4.654 MB / 2.631 GB, free: 10.66 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/5.559, allocations: 8.031 kB / 2.631 GB, free: 10.65 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005664/5.564, allocations: 0.5834 MB / 2.632 GB, free: 10.06 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/5.579, allocations: 4.043 MB / 2.636 GB, free: 5.949 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/5.579, allocations: 120 kB / 2.636 GB, free: 5.832 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/5.581, allocations: 239.9 kB / 2.636 GB, free: 5.598 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0121/5.594, allocations: 4.954 MB / 2.641 GB, free: 0.6367 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.9223/6.516, allocations: 5.404 MB / 2.646 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/6.516, allocations: 11.8 kB / 2.646 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005617/6.517, allocations: 10.12 kB / 2.646 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005996/6.517, allocations: 384.2 kB / 2.647 GB, free: 138.3 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.04359/6.561, allocations: 24.25 MB / 2.67 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007956/6.569, allocations: 4.281 MB / 2.675 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/6.573, allocations: 2.235 MB / 2.677 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02594/6.599, allocations: 12.34 MB / 2.689 GB, free: 120.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003922/6.603, allocations: 2.095 MB / 2.691 GB, free: 120.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004124/6.607, allocations: 0.5766 MB / 2.691 GB, free: 120.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 1.008e-05/6.607, allocations: 0 / 2.691 GB, free: 120.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.08361/6.691, allocations: 18.5 MB / 2.709 GB, free: 118.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.501e-05/6.691, allocations: 111.8 kB / 2.71 GB, free: 118.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/6.695, allocations: 2.194 MB / 2.712 GB, free: 118.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001471/6.697, allocations: 32.55 kB / 2.712 GB, free: 118.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/6.699, allocations: 2.056 MB / 2.714 GB, free: 117.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00205/6.701, allocations: 1.118 MB / 2.715 GB, free: 117.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002548/6.701, allocations: 0 / 2.715 GB, free: 117.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002891/6.701, allocations: 471.4 kB / 2.715 GB, free: 117 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002745/6.704, allocations: 1.804 MB / 2.717 GB, free: 117 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003142/6.707, allocations: 2.82 MB / 2.72 GB, free: 115.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02289/6.73, allocations: 5.235 MB / 2.725 GB, free: 115.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.724e-05/6.73, allocations: 11 kB / 2.725 GB, free: 115.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03008/6.76, allocations: 7.983 MB / 2.733 GB, free: 115.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00299/6.763, allocations: 11.94 MB / 2.744 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.712e-05/6.763, allocations: 25.81 kB / 2.744 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/6.763, allocations: 54.25 kB / 2.744 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03209/6.796, allocations: 4.218 MB / 2.749 GB, free: 103.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/6.806, allocations: 5.46 MB / 2.754 GB, free: 99.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007255/6.814, allocations: 309 kB / 2.754 GB, free: 99.69 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001964/6.816, allocations: 206 kB / 2.754 GB, free: 99.69 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/6.816, allocations: 6.375 kB / 2.754 GB, free: 99.69 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02432/6.84, allocations: 6.023 MB / 2.76 GB, free: 99.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000156/6.84, allocations: 27.81 kB / 2.76 GB, free: 99.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001074/6.841, allocations: 52.5 kB / 2.76 GB, free: 99.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007404/6.848, allocations: 1.378 MB / 2.762 GB, free: 99.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001532/6.848, allocations: 68.59 kB / 2.762 GB, free: 99.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006322/6.854, allocations: 295.1 kB / 2.762 GB, free: 99.59 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/6.856, allocations: 199.1 kB / 2.762 GB, free: 99.59 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.002947/6.859, allocations: 219.7 kB / 2.762 GB, free: 99.48 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/6.861, allocations: 371.5 kB / 2.763 GB, free: 99.29 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03539/6.897, allocations: 7.911 MB / 2.771 GB, free: 99.08 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.678e-05/6.897, allocations: 45.61 kB / 2.771 GB, free: 99.08 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.21e-05/6.897, allocations: 0 / 2.771 GB, free: 99.08 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02989/6.927, allocations: 6.882 MB / 2.777 GB, free: 98.74 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04918/6.976, allocations: 14.08 MB / 2.791 GB, free: 97.85 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-05/6.976, allocations: 13.59 kB / 2.791 GB, free: 97.85 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03027/7.007, allocations: 3.821 MB / 2.795 GB, free: 97.85 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.806e-05/7.007, allocations: 32.16 kB / 2.795 GB, free: 97.85 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001314/7.008, allocations: 61.22 kB / 2.795 GB, free: 97.85 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/7.019, allocations: 5.334 MB / 2.8 GB, free: 94.34 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-05/7.019, allocations: 20.91 kB / 2.8 GB, free: 94.34 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03628/7.055, allocations: 11.81 MB / 2.812 GB, free: 91.66 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003918/7.059, allocations: 0.9418 MB / 2.813 GB, free: 91.36 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/7.061, allocations: 35.22 kB / 2.813 GB, free: 91.36 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005097/7.066, allocations: 212.9 kB / 2.813 GB, free: 91.35 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001058/7.067, allocations: 268.9 kB / 2.813 GB, free: 91.34 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009911/7.068, allocations: 172.4 kB / 2.813 GB, free: 91.34 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00383/7.072, allocations: 1.592 MB / 2.815 GB, free: 91.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.91e-07/7.072, allocations: 3.656 kB / 2.815 GB, free: 91.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01486/7.087, allocations: 2.389 MB / 2.817 GB, free: 91.2 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.00598/7.093, allocations: 1.795 MB / 2.819 GB, free: 91 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.06064/7.154, allocations: 11.45 MB / 2.83 GB, free: 90.91 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.282e-05/7.154, allocations: 4.562 kB / 2.83 GB, free: 90.91 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04668/7.201, allocations: 6.62 MB / 2.837 GB, free: 90.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/7.211, allocations: 1.322 MB / 2.838 GB, free: 90.88 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/7.233, allocations: 8.697 MB / 2.846 GB, free: 88.76 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002998/7.236, allocations: 3.151 MB / 2.849 GB, free: 87.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01077/7.247, allocations: 2.757 MB / 2.852 GB, free: 87.68 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/7.248, allocations: 324.6 kB / 2.852 GB, free: 87.68 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/7.248, allocations: 4 kB / 2.852 GB, free: 87.68 MB / 1.167 GB Notification: Performance of Templates: time 0.1396/7.388, allocations: 78.27 MB / 2.929 GB, free: 82.89 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