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.24/2.24, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001409/0.001409, allocations: 177.5 kB / 492.3 MB, free: 0.6406 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.643/1.643, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009719/0.0009719, allocations: 91.97 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.301e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3237, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.649, allocations: 481.4 MB / 1.683 GB, free: 15.16 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.65, allocations: 94.81 kB / 1.683 GB, free: 15.11 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 3.763/5.413, allocations: 0.9501 GB / 2.633 GB, free: 9.359 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.933e-06/5.413, allocations: 3.938 kB / 2.633 GB, free: 9.355 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006557/5.414, allocations: 139.8 kB / 2.633 GB, free: 9.219 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.02049/5.434, allocations: 4.646 MB / 2.637 GB, free: 4.508 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/5.434, allocations: 12.03 kB / 2.637 GB, free: 4.496 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/5.44, allocations: 0.5795 MB / 2.638 GB, free: 3.91 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8696/6.309, allocations: 4.034 MB / 2.642 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000627/6.31, allocations: 296.2 kB / 2.642 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/6.313, allocations: 396.9 kB / 2.643 GB, free: 137 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/6.331, allocations: 5.938 MB / 2.648 GB, free: 136.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001639/6.332, allocations: 14.94 kB / 2.648 GB, free: 136.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008525/6.332, allocations: 169.2 kB / 2.649 GB, free: 136.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007259/6.333, allocations: 385.9 kB / 2.649 GB, free: 136.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/6.347, allocations: 5.219 MB / 2.654 GB, free: 136.1 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.04878/6.396, allocations: 25.05 MB / 2.678 GB, free: 123.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00836/6.404, allocations: 4.423 MB / 2.683 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004034/6.408, allocations: 2.33 MB / 2.685 GB, free: 123.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02669/6.435, allocations: 12.55 MB / 2.697 GB, free: 118 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003534/6.438, allocations: 2.204 MB / 2.699 GB, free: 117.9 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003998/6.442, allocations: 0.6706 MB / 2.7 GB, free: 117.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=310): time 1.424e-05/6.442, allocations: 3.844 kB / 2.7 GB, free: 117.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=334): time 0.03243/6.475, allocations: 11.47 MB / 2.711 GB, free: 116.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/6.475, allocations: 112.4 kB / 2.711 GB, free: 116.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00586/6.481, allocations: 2.76 MB / 2.714 GB, free: 116.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/6.482, allocations: 101.8 kB / 2.714 GB, free: 116.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/6.484, allocations: 2.06 MB / 2.716 GB, free: 115.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001691/6.486, allocations: 1.159 MB / 2.717 GB, free: 115 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/6.486, allocations: 80.62 kB / 2.717 GB, free: 115 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.00025/6.486, allocations: 473.1 kB / 2.718 GB, free: 114.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/6.489, allocations: 1.869 MB / 2.72 GB, free: 114.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00346/6.493, allocations: 2.917 MB / 2.723 GB, free: 113.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/6.496, allocations: 2.4 MB / 2.725 GB, free: 113.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/6.496, allocations: 7.781 kB / 2.725 GB, free: 113.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.009067/6.505, allocations: 5.443 MB / 2.73 GB, free: 113.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002207/6.507, allocations: 12.19 MB / 2.742 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.666e-05/6.508, allocations: 28.31 kB / 2.742 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.183e-05/6.508, allocations: 51.34 kB / 2.742 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03323/6.541, allocations: 4.215 MB / 2.746 GB, free: 100.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002399/6.543, allocations: 3.96 MB / 2.75 GB, free: 96.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006759/6.55, allocations: 390.9 kB / 2.751 GB, free: 96.85 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/6.551, allocations: 201.9 kB / 2.751 GB, free: 96.85 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/6.551, allocations: 2.531 kB / 2.751 GB, free: 96.85 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00825/6.56, allocations: 4.934 MB / 2.756 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.525e-05/6.56, allocations: 27.31 kB / 2.756 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.635e-05/6.56, allocations: 49.88 kB / 2.756 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005656/6.566, allocations: 1.369 MB / 2.757 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.44e-05/6.566, allocations: 72.09 kB / 2.757 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0051/6.571, allocations: 382.1 kB / 2.757 GB, free: 96.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/6.571, allocations: 195.5 kB / 2.758 GB, free: 96.75 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.001429/6.573, allocations: 366.1 kB / 2.758 GB, free: 96.64 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/6.574, allocations: 411.7 kB / 2.758 GB, free: 96.43 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009409/6.584, allocations: 5.347 MB / 2.764 GB, free: 96.22 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.214e-05/6.584, allocations: 40.66 kB / 2.764 GB, free: 96.22 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/6.584, allocations: 0 / 2.764 GB, free: 96.22 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005514/6.589, allocations: 4.211 MB / 2.768 GB, free: 95.88 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02211/6.611, allocations: 11.89 MB / 2.779 GB, free: 94.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/6.611, allocations: 13.25 kB / 2.779 GB, free: 94.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0315/6.643, allocations: 3.827 MB / 2.783 GB, free: 94.95 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.356e-05/6.643, allocations: 35.39 kB / 2.783 GB, free: 94.95 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/6.644, allocations: 117.1 kB / 2.783 GB, free: 94.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/6.647, allocations: 3.864 MB / 2.787 GB, free: 91.43 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-05/6.647, allocations: 21.19 kB / 2.787 GB, free: 91.43 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/6.661, allocations: 9.324 MB / 2.796 GB, free: 88.74 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003256/6.664, allocations: 0.9905 MB / 2.797 GB, free: 88.43 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000941/6.665, allocations: 92.59 kB / 2.797 GB, free: 88.43 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/6.668, allocations: 276.7 kB / 2.797 GB, free: 88.42 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005351/6.669, allocations: 277.8 kB / 2.798 GB, free: 88.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004321/6.669, allocations: 172.5 kB / 2.798 GB, free: 88.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003545/6.673, allocations: 2.063 MB / 2.8 GB, free: 88.24 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/6.673, allocations: 3.75 kB / 2.8 GB, free: 88.24 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009885/6.683, allocations: 2.628 MB / 2.802 GB, free: 88.24 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.004185/6.687, allocations: 1.881 MB / 2.804 GB, free: 88.06 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.05901/6.746, allocations: 11.81 MB / 2.816 GB, free: 87.95 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.479e-05/6.746, allocations: 4.75 kB / 2.816 GB, free: 87.95 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.04928/6.795, allocations: 6.717 MB / 2.822 GB, free: 87.93 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01014/6.806, allocations: 1.566 MB / 2.824 GB, free: 87.92 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/6.827, allocations: 8.985 MB / 2.833 GB, free: 85.88 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002687/6.829, allocations: 3.143 MB / 2.836 GB, free: 85.07 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01041/6.84, allocations: 2.956 MB / 2.839 GB, free: 85.01 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/6.841, allocations: 333.5 kB / 2.839 GB, free: 85.01 MB / 1.167 GB Notification: Performance of SimCode: time 1.382e-06/6.841, allocations: 0 / 2.839 GB, free: 85.01 MB / 1.167 GB Notification: Performance of Templates: time 0.1536/6.995, allocations: 91.96 MB / 2.929 GB, free: 80.08 MB / 1.167 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