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.526/1.526, allocations: 249.5 MB / 257 MB, free: 6.867 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.001206/0.001205, allocations: 176.9 kB / 316.3 MB, free: 3.23 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.812/1.812, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008805/0.0008805, allocations: 94.42 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.143e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.254, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.901/2.155, allocations: 462.5 MB / 1.337 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.155, allocations: 98.23 kB / 1.337 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.462/5.617, allocations: 0.9087 GB / 2.246 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/5.617, allocations: 4 kB / 2.246 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0006617/5.618, allocations: 132.5 kB / 2.246 GB, free: 12.61 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.02072/5.639, allocations: 4.651 MB / 2.25 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/5.639, allocations: 8.031 kB / 2.25 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005354/5.644, allocations: 0.5795 MB / 2.251 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/5.659, allocations: 4.013 MB / 2.255 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/5.659, allocations: 116 kB / 2.255 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/5.662, allocations: 243.8 kB / 2.255 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7838/6.446, allocations: 4.953 MB / 2.26 GB, free: 78.64 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/6.465, allocations: 5.353 MB / 2.265 GB, free: 77.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000161/6.465, allocations: 17.16 kB / 2.265 GB, free: 77.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007965/6.466, allocations: 8.625 kB / 2.265 GB, free: 77.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000624/6.467, allocations: 375.9 kB / 2.266 GB, free: 77.84 MB / 0.8855 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.04363/6.51, allocations: 24.21 MB / 2.289 GB, free: 65.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00858/6.519, allocations: 4.286 MB / 2.293 GB, free: 65.23 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004252/6.523, allocations: 2.234 MB / 2.296 GB, free: 65.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03075/6.554, allocations: 12.3 MB / 2.308 GB, free: 59.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005271/6.559, allocations: 2.04 MB / 2.31 GB, free: 59.72 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004907/6.564, allocations: 0.5743 MB / 2.31 GB, free: 59.65 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=310): time 1.85e-05/6.564, allocations: 0 / 2.31 GB, free: 59.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=334): time 0.09019/6.655, allocations: 18.48 MB / 2.328 GB, free: 58.45 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/6.655, allocations: 113.5 kB / 2.328 GB, free: 58.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005689/6.661, allocations: 2.193 MB / 2.331 GB, free: 58.11 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/6.662, allocations: 33.55 kB / 2.331 GB, free: 58.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002313/6.664, allocations: 2.067 MB / 2.333 GB, free: 57.44 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002059/6.666, allocations: 1.111 MB / 2.334 GB, free: 56.86 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/6.667, allocations: 0 / 2.334 GB, free: 56.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003872/6.668, allocations: 476.8 kB / 2.334 GB, free: 56.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/6.671, allocations: 1.799 MB / 2.336 GB, free: 56.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/6.676, allocations: 2.818 MB / 2.339 GB, free: 55.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02526/6.701, allocations: 5.237 MB / 2.344 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.946e-05/6.701, allocations: 8.844 kB / 2.344 GB, free: 55.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03078/6.732, allocations: 7.987 MB / 2.352 GB, free: 55.08 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002588/6.735, allocations: 11.93 MB / 2.363 GB, free: 42.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.345e-05/6.735, allocations: 28.03 kB / 2.363 GB, free: 42.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001033/6.735, allocations: 50.72 kB / 2.363 GB, free: 42.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03368/6.769, allocations: 4.22 MB / 2.367 GB, free: 42.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/6.781, allocations: 5.463 MB / 2.373 GB, free: 55.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007438/6.789, allocations: 306.5 kB / 2.373 GB, free: 55.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/6.791, allocations: 204.6 kB / 2.373 GB, free: 55.23 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/6.791, allocations: 3.406 kB / 2.373 GB, free: 55.23 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02092/6.812, allocations: 6.026 MB / 2.379 GB, free: 55.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.057e-05/6.812, allocations: 31.94 kB / 2.379 GB, free: 55.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.624e-05/6.812, allocations: 49.28 kB / 2.379 GB, free: 55.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006379/6.818, allocations: 1.379 MB / 2.381 GB, free: 55.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.883e-05/6.818, allocations: 69.94 kB / 2.381 GB, free: 55.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005531/6.824, allocations: 298.9 kB / 2.381 GB, free: 55.13 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/6.825, allocations: 200.7 kB / 2.381 GB, free: 55.13 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.001485/6.827, allocations: 213.8 kB / 2.381 GB, free: 55.02 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/6.828, allocations: 365.5 kB / 2.382 GB, free: 54.84 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0309/6.859, allocations: 7.918 MB / 2.389 GB, free: 54.62 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.944e-05/6.859, allocations: 44.17 kB / 2.389 GB, free: 54.62 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/6.859, allocations: 0 / 2.389 GB, free: 54.62 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02605/6.885, allocations: 6.88 MB / 2.396 GB, free: 54.29 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04323/6.928, allocations: 14.03 MB / 2.41 GB, free: 53.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/6.928, allocations: 15.41 kB / 2.41 GB, free: 53.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03045/6.959, allocations: 3.817 MB / 2.414 GB, free: 53.39 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.245e-05/6.959, allocations: 26.56 kB / 2.414 GB, free: 53.39 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001398/6.96, allocations: 68.45 kB / 2.414 GB, free: 53.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/6.972, allocations: 5.329 MB / 2.419 GB, free: 49.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-05/6.972, allocations: 25.91 kB / 2.419 GB, free: 49.88 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04064/7.012, allocations: 11.81 MB / 2.43 GB, free: 47.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004514/7.017, allocations: 0.9216 MB / 2.431 GB, free: 46.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002237/7.019, allocations: 38.61 kB / 2.431 GB, free: 46.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005122/7.024, allocations: 202.7 kB / 2.432 GB, free: 46.89 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001158/7.025, allocations: 271.7 kB / 2.432 GB, free: 46.88 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001027/7.027, allocations: 160.5 kB / 2.432 GB, free: 46.88 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003669/7.03, allocations: 1.591 MB / 2.434 GB, free: 46.74 MB / 0.9011 GB Notification: Performance of sort global known variables: time 4.41e-07/7.03, allocations: 0 / 2.434 GB, free: 46.74 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01336/7.044, allocations: 2.391 MB / 2.436 GB, free: 46.74 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.00539/7.049, allocations: 1.802 MB / 2.438 GB, free: 46.52 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.05629/7.105, allocations: 11.45 MB / 2.449 GB, free: 46.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.953e-05/7.105, allocations: 8.5 kB / 2.449 GB, free: 46.43 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.04664/7.152, allocations: 6.614 MB / 2.455 GB, free: 46.37 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01226/7.164, allocations: 1.315 MB / 2.457 GB, free: 46.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02488/7.189, allocations: 8.694 MB / 2.465 GB, free: 43.7 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005519/7.195, allocations: 3.152 MB / 2.468 GB, free: 42.84 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01299/7.208, allocations: 2.735 MB / 2.471 GB, free: 42.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002259/7.21, allocations: 321.7 kB / 2.471 GB, free: 42.59 MB / 0.9011 GB Notification: Performance of SimCode: time 9.92e-07/7.21, allocations: 0 / 2.471 GB, free: 42.59 MB / 0.9011 GB Notification: Performance of Templates: time 0.1279/7.338, allocations: 77.44 MB / 2.547 GB, free: 15.98 MB / 0.9011 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