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.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001032/0.001032, allocations: 97.27 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.252e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2167, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.515/1.732, allocations: 462.3 MB / 1.343 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.732, allocations: 95.78 kB / 1.343 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.183/4.914, allocations: 0.9148 GB / 2.258 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.694e-06/4.914, allocations: 0 / 2.258 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006743/4.915, allocations: 135.8 kB / 2.258 GB, free: 11.34 MB / 0.9011 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.02177/4.937, allocations: 4.642 MB / 2.263 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 8.553e-05/4.937, allocations: 8.031 kB / 2.263 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007858/4.945, allocations: 0.5872 MB / 2.263 GB, free: 6.035 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02375/4.969, allocations: 4.015 MB / 2.267 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000687/4.97, allocations: 295.3 kB / 2.268 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003084/4.973, allocations: 391.8 kB / 2.268 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7273/5.7, allocations: 5.883 MB / 2.274 GB, free: 85.32 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/5.7, allocations: 19.03 kB / 2.274 GB, free: 85.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006666/5.701, allocations: 164.8 kB / 2.274 GB, free: 85.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006371/5.701, allocations: 385.6 kB / 2.274 GB, free: 85.32 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/5.716, allocations: 5.217 MB / 2.279 GB, free: 85.29 MB / 0.9011 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.05074/5.767, allocations: 25 MB / 2.304 GB, free: 72.61 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/5.778, allocations: 4.434 MB / 2.308 GB, free: 72.55 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005544/5.784, allocations: 2.335 MB / 2.31 GB, free: 72.52 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03205/5.816, allocations: 12.5 MB / 2.323 GB, free: 67.14 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005196/5.821, allocations: 2.133 MB / 2.325 GB, free: 67.03 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004675/5.826, allocations: 0.6754 MB / 2.325 GB, free: 66.95 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=310): time 2.938e-05/5.826, allocations: 0 / 2.325 GB, free: 66.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=334): time 0.03642/5.862, allocations: 11.47 MB / 2.336 GB, free: 65.71 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/5.862, allocations: 114.4 kB / 2.337 GB, free: 65.62 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006779/5.869, allocations: 2.764 MB / 2.339 GB, free: 65.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/5.87, allocations: 93.42 kB / 2.339 GB, free: 65.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002396/5.873, allocations: 2.053 MB / 2.341 GB, free: 64.74 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002035/5.875, allocations: 1.158 MB / 2.343 GB, free: 64.16 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009974/5.876, allocations: 83.91 kB / 2.343 GB, free: 64.16 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004013/5.876, allocations: 469.5 kB / 2.343 GB, free: 63.84 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/5.88, allocations: 1.868 MB / 2.345 GB, free: 63.83 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00458/5.885, allocations: 2.914 MB / 2.348 GB, free: 62.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004505/5.889, allocations: 2.402 MB / 2.35 GB, free: 62.67 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.853e-05/5.889, allocations: 7.312 kB / 2.35 GB, free: 62.67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.0123/5.902, allocations: 5.441 MB / 2.355 GB, free: 62.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003243/5.905, allocations: 12.19 MB / 2.367 GB, free: 49.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.2e-05/5.905, allocations: 26.34 kB / 2.367 GB, free: 49.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/5.905, allocations: 55.72 kB / 2.367 GB, free: 49.53 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03447/5.94, allocations: 4.216 MB / 2.371 GB, free: 49.53 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002859/5.943, allocations: 3.96 MB / 2.375 GB, free: 46.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006971/5.95, allocations: 385.7 kB / 2.376 GB, free: 46.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/5.951, allocations: 201.7 kB / 2.376 GB, free: 46.01 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/5.952, allocations: 5.188 kB / 2.376 GB, free: 46.01 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/5.965, allocations: 4.933 MB / 2.381 GB, free: 45.92 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/5.965, allocations: 26.69 kB / 2.381 GB, free: 45.92 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.434e-05/5.965, allocations: 52.97 kB / 2.381 GB, free: 45.92 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007104/5.972, allocations: 1.374 MB / 2.382 GB, free: 45.92 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/5.972, allocations: 73.42 kB / 2.382 GB, free: 45.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006656/5.979, allocations: 377.7 kB / 2.383 GB, free: 45.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/5.98, allocations: 201.7 kB / 2.383 GB, free: 45.91 MB / 0.9011 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.002729/5.983, allocations: 350.1 kB / 2.383 GB, free: 45.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/5.985, allocations: 400.9 kB / 2.383 GB, free: 45.59 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/5.999, allocations: 5.357 MB / 2.389 GB, free: 45.38 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.758e-05/5.999, allocations: 47.23 kB / 2.389 GB, free: 45.38 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/5.999, allocations: 1.438 kB / 2.389 GB, free: 45.38 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007356/6.006, allocations: 4.212 MB / 2.393 GB, free: 45.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02716/6.033, allocations: 11.85 MB / 2.404 GB, free: 44.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-05/6.033, allocations: 13.72 kB / 2.404 GB, free: 44.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03214/6.066, allocations: 3.826 MB / 2.408 GB, free: 44.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.94e-05/6.066, allocations: 27.5 kB / 2.408 GB, free: 44.11 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/6.067, allocations: 113.5 kB / 2.408 GB, free: 44.11 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/6.069, allocations: 3.868 MB / 2.412 GB, free: 40.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.317e-05/6.069, allocations: 22.92 kB / 2.412 GB, free: 40.59 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/6.083, allocations: 9.321 MB / 2.421 GB, free: 37.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003647/6.086, allocations: 0.9698 MB / 2.422 GB, free: 37.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000958/6.087, allocations: 97.05 kB / 2.422 GB, free: 37.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/6.091, allocations: 274.7 kB / 2.423 GB, free: 37.58 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005344/6.091, allocations: 268.8 kB / 2.423 GB, free: 37.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003783/6.092, allocations: 162.4 kB / 2.423 GB, free: 37.57 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003766/6.096, allocations: 2.07 MB / 2.425 GB, free: 37.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.81e-07/6.096, allocations: 3.906 kB / 2.425 GB, free: 37.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01252/6.108, allocations: 2.622 MB / 2.428 GB, free: 37.4 MB / 0.9011 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.004281/6.112, allocations: 1.892 MB / 2.429 GB, free: 37.17 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.05709/6.169, allocations: 11.8 MB / 2.441 GB, free: 37.06 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.225e-05/6.17, allocations: 4.719 kB / 2.441 GB, free: 37.06 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.04689/6.216, allocations: 6.708 MB / 2.447 GB, free: 37.04 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009052/6.226, allocations: 1.562 MB / 2.449 GB, free: 37.02 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/6.244, allocations: 8.974 MB / 2.458 GB, free: 34.99 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/6.248, allocations: 3.144 MB / 2.461 GB, free: 50.16 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.009977/6.258, allocations: 2.938 MB / 2.464 GB, free: 49.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/6.26, allocations: 337.4 kB / 2.464 GB, free: 49.91 MB / 0.9167 GB Notification: Performance of SimCode: time 9.52e-07/6.26, allocations: 0 / 2.464 GB, free: 49.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.1371/6.397, allocations: 91.09 MB / 2.553 GB, free: 27.66 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