Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 183 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008387/0.0008387, allocations: 98.66 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 11.78 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8837/1.102, allocations: 462.3 MB / 1.352 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.102, allocations: 102.1 kB / 1.352 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.42/4.522, allocations: 0.9168 GB / 2.268 GB, free: 94.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.455e-06/4.522, allocations: 0 / 2.268 GB, free: 94.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006871/4.523, allocations: 139.1 kB / 2.269 GB, free: 94.84 MB / 0.8855 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.02146/4.544, allocations: 5.304 MB / 2.274 GB, free: 92.72 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/4.544, allocations: 7.938 kB / 2.274 GB, free: 92.72 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004594/4.549, allocations: 0.581 MB / 2.274 GB, free: 92.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/4.564, allocations: 4.047 MB / 2.278 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004392/4.564, allocations: 294.1 kB / 2.279 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/4.566, allocations: 393.4 kB / 2.279 GB, free: 91.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/4.584, allocations: 5.956 MB / 2.285 GB, free: 90.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002948/4.584, allocations: 14.34 kB / 2.285 GB, free: 90.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/4.586, allocations: 169.4 kB / 2.285 GB, free: 90.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005727/4.587, allocations: 384 kB / 2.285 GB, free: 90.47 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01272/4.6, allocations: 5.324 MB / 2.291 GB, free: 88.69 MB / 0.8855 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.04099/4.641, allocations: 24.99 MB / 2.315 GB, free: 71.37 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007524/4.648, allocations: 4.477 MB / 2.319 GB, free: 69.73 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0227/4.671, allocations: 12.38 MB / 2.331 GB, free: 61.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003007/4.674, allocations: 2.176 MB / 2.334 GB, free: 60.99 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003705/4.678, allocations: 0.6707 MB / 2.334 GB, free: 60.76 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=310): time 1.201e-05/4.678, allocations: 0 / 2.334 GB, free: 60.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=334): time 0.02706/4.705, allocations: 13.16 MB / 2.347 GB, free: 51.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/4.705, allocations: 111.7 kB / 2.347 GB, free: 51.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004067/4.709, allocations: 2.809 MB / 2.35 GB, free: 49.21 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006497/4.71, allocations: 93.7 kB / 2.35 GB, free: 49.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/4.711, allocations: 2.056 MB / 2.352 GB, free: 47.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/4.712, allocations: 1.159 MB / 2.353 GB, free: 46.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/4.713, allocations: 80 kB / 2.353 GB, free: 46.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001722/4.713, allocations: 471.3 kB / 2.354 GB, free: 45.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002611/4.715, allocations: 1.914 MB / 2.356 GB, free: 44.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/4.718, allocations: 2.956 MB / 2.358 GB, free: 41.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/4.722, allocations: 2.43 MB / 2.361 GB, free: 39.03 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/4.722, allocations: 8 kB / 2.361 GB, free: 39.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008024/4.73, allocations: 5.514 MB / 2.366 GB, free: 34.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002354/4.732, allocations: 12.19 MB / 2.378 GB, free: 21.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.524e-05/4.732, allocations: 31.06 kB / 2.378 GB, free: 21.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.907e-05/4.732, allocations: 52 kB / 2.378 GB, free: 21.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03811/4.77, allocations: 4.228 MB / 2.382 GB, free: 17.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/4.773, allocations: 3.959 MB / 2.386 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007152/4.78, allocations: 383.5 kB / 2.387 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/4.781, allocations: 203.9 kB / 2.387 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/4.781, allocations: 4 kB / 2.387 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007671/4.789, allocations: 5.015 MB / 2.392 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/4.789, allocations: 32.03 kB / 2.392 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/4.789, allocations: 52 kB / 2.392 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00591/4.795, allocations: 1.369 MB / 2.393 GB, free: 6.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.899e-05/4.795, allocations: 67.78 kB / 2.393 GB, free: 6.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/4.799, allocations: 383.2 kB / 2.393 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004741/4.8, allocations: 199.9 kB / 2.394 GB, free: 5.543 MB / 0.8855 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.002803/4.803, allocations: 1.239 MB / 2.395 GB, free: 4.293 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000898/4.804, allocations: 407 kB / 2.395 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008788/4.812, allocations: 5.412 MB / 2.401 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.372e-05/4.813, allocations: 47.5 kB / 2.401 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/4.813, allocations: 0 / 2.401 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00665/4.819, allocations: 4.282 MB / 2.405 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/4.84, allocations: 11.91 MB / 2.416 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/4.841, allocations: 15.31 kB / 2.416 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03467/4.875, allocations: 3.836 MB / 2.42 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.905e-05/4.875, allocations: 28 kB / 2.42 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006356/4.876, allocations: 115.9 kB / 2.42 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/4.878, allocations: 3.875 MB / 2.424 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/4.878, allocations: 15.94 kB / 2.424 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5907/5.469, allocations: 9.413 MB / 2.433 GB, free: 120 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004171/5.473, allocations: 0.9612 MB / 2.434 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001552/5.475, allocations: 96.52 kB / 2.434 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004478/5.479, allocations: 270.1 kB / 2.435 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008986/5.48, allocations: 274 kB / 2.435 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006214/5.481, allocations: 161.3 kB / 2.435 GB, free: 119.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006192/5.487, allocations: 2.11 MB / 2.437 GB, free: 119.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.41e-07/5.487, allocations: 0 / 2.437 GB, free: 119.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01668/5.504, allocations: 2.624 MB / 2.44 GB, free: 119.7 MB / 0.9167 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.00608/5.51, allocations: 1.922 MB / 2.441 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.06468/5.575, allocations: 11.8 MB / 2.453 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.448e-05/5.575, allocations: 6.094 kB / 2.453 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.05298/5.628, allocations: 6.75 MB / 2.46 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01038/5.638, allocations: 1.572 MB / 2.461 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02086/5.659, allocations: 12.22 MB / 2.473 GB, free: 114.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003683/5.663, allocations: 3.137 MB / 2.476 GB, free: 114 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.009146/5.672, allocations: 2.517 MB / 2.479 GB, free: 113.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/5.674, allocations: 385.5 kB / 2.479 GB, free: 113.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.683e-06/5.674, allocations: 0 / 2.479 GB, free: 113.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.1256/5.799, allocations: 84.12 MB / 2.561 GB, free: 109.3 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches