Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.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.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") translateModel(Buildings.Fluid.FixedResistances.Examples.Pipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pip.vol.1..T|pip.vol.5..T|pip.vol.10..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.349/2.349, 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.001421/0.001421, allocations: 176.9 kB / 491.2 MB, free: 1.555 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.629/1.629, 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.0009565/0.0009567, allocations: 95.81 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.524e-05/1.526e-05, allocations: 6.125 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.329/1.651, allocations: 443.1 MB / 1.645 GB, free: 4.637 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.651, allocations: 86.83 kB / 1.645 GB, free: 4.594 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.12/4.771, allocations: 0.7869 GB / 2.432 GB, free: 200.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.853e-06/4.771, allocations: 0 / 2.432 GB, free: 200.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001656/4.772, allocations: 199 kB / 2.432 GB, free: 200.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02628/4.799, allocations: 5.681 MB / 2.438 GB, free: 194.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/4.799, allocations: 11.41 kB / 2.438 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007073/4.806, allocations: 0.8509 MB / 2.439 GB, free: 194 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05784/4.864, allocations: 24.37 MB / 2.462 GB, free: 170 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004875/4.864, allocations: 243.8 kB / 2.463 GB, free: 169.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/4.867, allocations: 300 kB / 2.463 GB, free: 169.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01325/4.88, allocations: 5.014 MB / 2.468 GB, free: 164.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02455/4.905, allocations: 6.293 MB / 2.474 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004896/4.905, allocations: 23.77 kB / 2.474 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002621/4.908, allocations: 12 kB / 2.474 GB, free: 157.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000279/4.908, allocations: 229.4 kB / 2.474 GB, free: 157.6 MB / 1.151 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.05196/4.96, allocations: 28.74 MB / 2.502 GB, free: 127.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005798/4.966, allocations: 3.22 MB / 2.505 GB, free: 124.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/4.969, allocations: 1.622 MB / 2.507 GB, free: 123 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/4.97, allocations: 0.9725 MB / 2.508 GB, free: 121.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.249e-05/4.97, allocations: 77.12 kB / 2.508 GB, free: 121.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=253): time 5.561e-06/4.97, allocations: 0 / 2.508 GB, free: 121.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=253): time 0.007582/4.977, allocations: 3.043 MB / 2.511 GB, free: 118.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/4.978, allocations: 77.41 kB / 2.511 GB, free: 118.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01143/4.989, allocations: 4.757 MB / 2.516 GB, free: 113.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/4.99, allocations: 29.7 kB / 2.516 GB, free: 113.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003453/4.994, allocations: 2.994 MB / 2.519 GB, free: 110.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/4.996, allocations: 0.8623 MB / 2.52 GB, free: 109.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/4.996, allocations: 0 / 2.52 GB, free: 109.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0004184/4.997, allocations: 461.1 kB / 2.52 GB, free: 109.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002457/4.999, allocations: 1.393 MB / 2.521 GB, free: 108.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/5.002, allocations: 2.521 MB / 2.524 GB, free: 105.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/5.007, allocations: 2.094 MB / 2.526 GB, free: 102.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.532e-05/5.007, allocations: 8 kB / 2.526 GB, free: 102.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01057/5.017, allocations: 4.351 MB / 2.53 GB, free: 98.53 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.004736/5.022, allocations: 16.65 MB / 2.546 GB, free: 80.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-05/5.022, allocations: 36 kB / 2.546 GB, free: 80.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/5.022, allocations: 60 kB / 2.546 GB, free: 80.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/5.026, allocations: 0.8854 MB / 2.547 GB, free: 79.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006557/5.027, allocations: 1.246 MB / 2.549 GB, free: 77.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006432/5.033, allocations: 451.9 kB / 2.549 GB, free: 77.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000859/5.034, allocations: 168 kB / 2.549 GB, free: 77.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/5.034, allocations: 0 / 2.549 GB, free: 77.27 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007887/5.042, allocations: 3.839 MB / 2.553 GB, free: 73.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.491e-05/5.042, allocations: 32.97 kB / 2.553 GB, free: 73.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.893e-05/5.042, allocations: 60 kB / 2.553 GB, free: 73.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/5.045, allocations: 0.8697 MB / 2.554 GB, free: 72.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-05/5.045, allocations: 71.78 kB / 2.554 GB, free: 72.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/5.051, allocations: 376.7 kB / 2.554 GB, free: 71.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006722/5.052, allocations: 168 kB / 2.554 GB, free: 71.82 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001353/5.053, allocations: 219.7 kB / 2.555 GB, free: 71.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002531/5.056, allocations: 0.4935 MB / 2.555 GB, free: 71.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007827/5.064, allocations: 3.467 MB / 2.558 GB, free: 67.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-05/5.064, allocations: 28 kB / 2.559 GB, free: 67.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/5.064, allocations: 4 kB / 2.559 GB, free: 67.55 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004171/5.068, allocations: 2.67 MB / 2.561 GB, free: 64.82 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02294/5.091, allocations: 8.651 MB / 2.57 GB, free: 56.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/5.091, allocations: 0 / 2.57 GB, free: 56.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002497/5.094, allocations: 0.5383 MB / 2.57 GB, free: 55.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.597e-05/5.094, allocations: 8 kB / 2.57 GB, free: 55.58 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003602/5.094, allocations: 51.95 kB / 2.57 GB, free: 55.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004355/5.094, allocations: 1.18 MB / 2.571 GB, free: 54.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/5.094, allocations: 4 kB / 2.571 GB, free: 54.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008698/5.103, allocations: 5.382 MB / 2.577 GB, free: 48.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004781/5.108, allocations: 1.267 MB / 2.578 GB, free: 47.51 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003041/5.111, allocations: 19.98 kB / 2.578 GB, free: 47.49 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006038/5.117, allocations: 215.2 kB / 2.578 GB, free: 47.28 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/5.118, allocations: 153.8 kB / 2.578 GB, free: 47.13 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006263/5.118, allocations: 147.8 kB / 2.578 GB, free: 46.98 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.008073/5.126, allocations: 3.677 MB / 2.582 GB, free: 43.32 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.1e-07/5.126, allocations: 0 / 2.582 GB, free: 43.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01629/5.143, allocations: 3.2 MB / 2.585 GB, free: 40.11 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002428/5.145, allocations: 0.662 MB / 2.586 GB, free: 39.52 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009575/5.155, allocations: 5.481 MB / 2.591 GB, free: 34.03 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/5.155, allocations: 12.62 kB / 2.591 GB, free: 34.02 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/5.157, allocations: 1.479 MB / 2.592 GB, free: 32.54 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01794/5.175, allocations: 3.18 MB / 2.596 GB, free: 29.49 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/5.202, allocations: 11.43 MB / 2.607 GB, free: 18.14 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007342/5.209, allocations: 4.686 MB / 2.611 GB, free: 13.44 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0176/5.227, allocations: 4.518 MB / 2.616 GB, free: 9.062 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/5.229, allocations: 335.3 kB / 2.616 GB, free: 8.734 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/5.229, allocations: 0 / 2.616 GB, free: 8.734 MB / 1.151 GB Notification: Performance of Templates: time 0.9968/6.225, allocations: 108 MB / 2.722 GB, free: 213 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches