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.552/2.552, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001567/0.001567, allocations: 182.9 kB / 0.4902 GB, free: 2.285 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.96/1.96, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001275/0.001275, allocations: 97.39 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005875/0.0005876, allocations: 10.34 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3447, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.611, allocations: 443.9 MB / 1.663 GB, free: 2.629 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.612, allocations: 91.45 kB / 1.663 GB, free: 2.582 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.218/4.83, allocations: 0.7933 GB / 2.456 GB, free: 224.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.108e-06/4.83, allocations: 0 / 2.456 GB, free: 224.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001844/4.831, allocations: 195.6 kB / 2.456 GB, free: 224.8 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: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.03492/4.866, allocations: 7.123 MB / 2.463 GB, free: 222.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/4.866, allocations: 11.2 kB / 2.463 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007465/4.874, allocations: 0.8537 MB / 2.464 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06415/4.938, allocations: 24.55 MB / 2.488 GB, free: 220.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008254/4.939, allocations: 417.5 kB / 2.488 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003108/4.942, allocations: 0.5031 MB / 2.489 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02564/4.968, allocations: 7.141 MB / 2.496 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005069/4.968, allocations: 29.62 kB / 2.496 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002746/4.971, allocations: 219.7 kB / 2.496 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000356/4.972, allocations: 223.8 kB / 2.496 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/4.989, allocations: 5.484 MB / 2.502 GB, free: 219.6 MB / 1.167 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.05981/5.049, allocations: 29.83 MB / 2.531 GB, free: 200.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006866/5.056, allocations: 3.413 MB / 2.534 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/5.057, allocations: 0.9716 MB / 2.535 GB, free: 198.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/5.057, allocations: 79.5 kB / 2.535 GB, free: 198.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=253): time 8.155e-06/5.057, allocations: 1.875 kB / 2.535 GB, free: 198.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=253): time 0.01076/5.068, allocations: 4.404 MB / 2.539 GB, free: 196.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/5.068, allocations: 76.19 kB / 2.54 GB, free: 196.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.016/5.084, allocations: 5.867 MB / 2.545 GB, free: 194.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001134/5.085, allocations: 86.73 kB / 2.545 GB, free: 194.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004786/5.09, allocations: 3.013 MB / 2.548 GB, free: 192.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002069/5.092, allocations: 0.8986 MB / 2.549 GB, free: 191.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007121/5.093, allocations: 71.09 kB / 2.549 GB, free: 191.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004919/5.093, allocations: 449.9 kB / 2.55 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003098/5.096, allocations: 1.498 MB / 2.551 GB, free: 190.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003831/5.1, allocations: 2.658 MB / 2.554 GB, free: 188.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/5.104, allocations: 2.11 MB / 2.556 GB, free: 188 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.577e-05/5.104, allocations: 11.12 kB / 2.556 GB, free: 188 MB / 1.167 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.0116/5.116, allocations: 4.764 MB / 2.56 GB, free: 186.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004748/5.12, allocations: 17.26 MB / 2.577 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/5.121, allocations: 36.25 kB / 2.577 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/5.121, allocations: 63.84 kB / 2.577 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003984/5.125, allocations: 0.8774 MB / 2.578 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007346/5.126, allocations: 1.248 MB / 2.579 GB, free: 166.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007367/5.133, allocations: 0.5797 MB / 2.58 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009623/5.134, allocations: 171.2 kB / 2.58 GB, free: 166.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/5.134, allocations: 3.938 kB / 2.58 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009108/5.143, allocations: 4.241 MB / 2.584 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/5.143, allocations: 38.12 kB / 2.584 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001197/5.143, allocations: 60.75 kB / 2.584 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004092/5.148, allocations: 0.87 MB / 2.585 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001589/5.148, allocations: 77.88 kB / 2.585 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008469/5.156, allocations: 0.5181 MB / 2.586 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008953/5.157, allocations: 172.3 kB / 2.586 GB, free: 164.5 MB / 1.167 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 () * Number of clocked 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.007676/5.165, allocations: 2.535 MB / 2.588 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003875/5.169, allocations: 0.5573 MB / 2.589 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/5.18, allocations: 3.718 MB / 2.593 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/5.18, allocations: 24 kB / 2.593 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/5.18, allocations: 4 kB / 2.593 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004493/5.184, allocations: 2.825 MB / 2.595 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02975/5.214, allocations: 9.427 MB / 2.605 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/5.214, allocations: 7.953 kB / 2.605 GB, free: 147 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002701/5.217, allocations: 0.5299 MB / 2.605 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.022e-05/5.217, allocations: 12 kB / 2.605 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004902/5.218, allocations: 75.95 kB / 2.605 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000524/5.218, allocations: 1.179 MB / 2.606 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/5.218, allocations: 4 kB / 2.606 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/5.229, allocations: 5.681 MB / 2.612 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006042/5.235, allocations: 1.344 MB / 2.613 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002772/5.238, allocations: 63.98 kB / 2.613 GB, free: 138 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00626/5.244, allocations: 263.3 kB / 2.614 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004323/5.244, allocations: 153.7 kB / 2.614 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007201/5.245, allocations: 143.9 kB / 2.614 GB, free: 137.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01145/5.257, allocations: 4.631 MB / 2.618 GB, free: 132.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.52e-07/5.257, allocations: 0 / 2.618 GB, free: 132.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01914/5.276, allocations: 3.249 MB / 2.622 GB, free: 129.6 MB / 1.167 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 () * Number of clocked 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.002997/5.279, allocations: 0.6974 MB / 2.622 GB, free: 129 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01198/5.291, allocations: 5.749 MB / 2.628 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/5.291, allocations: 4.562 kB / 2.628 GB, free: 123.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/5.294, allocations: 1.567 MB / 2.629 GB, free: 121.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02549/5.32, allocations: 3.87 MB / 2.633 GB, free: 118.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04073/5.36, allocations: 15.83 MB / 2.649 GB, free: 102.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006246/5.367, allocations: 4.68 MB / 2.653 GB, free: 97.82 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01114/5.378, allocations: 3.035 MB / 2.656 GB, free: 94.91 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002096/5.38, allocations: 475.2 kB / 2.657 GB, free: 94.45 MB / 1.167 GB Notification: Performance of SimCode: time 2.265e-06/5.38, allocations: 3.719 kB / 2.657 GB, free: 94.45 MB / 1.167 GB Notification: Performance of Templates: time 1.053/6.433, allocations: 126.5 MB / 2.78 GB, free: 229.2 MB / 1.182 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