Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001216/0.001215, allocations: 185.6 kB / 498.1 MB, free: 5.758 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.879/1.879, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0009794/0.0009791, allocations: 93.91 kB / 0.9346 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 8.594 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3367, allocations: 142.3 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.629, allocations: 443.1 MB / 1.656 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/1.629, allocations: 98.2 kB / 1.656 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.032/4.662, allocations: 0.7933 GB / 2.449 GB, free: 226 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.304e-06/4.662, allocations: 3.781 kB / 2.449 GB, free: 226 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001435/4.663, allocations: 194.8 kB / 2.449 GB, free: 226 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.03524/4.698, allocations: 7.122 MB / 2.456 GB, free: 223.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/4.698, allocations: 6.906 kB / 2.456 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006491/4.705, allocations: 0.857 MB / 2.457 GB, free: 223.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06035/4.765, allocations: 24.55 MB / 2.481 GB, free: 221.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/4.766, allocations: 419.7 kB / 2.481 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002389/4.768, allocations: 0.501 MB / 2.482 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/4.788, allocations: 7.136 MB / 2.489 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004853/4.789, allocations: 23.48 kB / 2.489 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/4.791, allocations: 230.4 kB / 2.489 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003162/4.792, allocations: 216.9 kB / 2.489 GB, free: 220.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/4.807, allocations: 5.493 MB / 2.495 GB, free: 220.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.05547/4.863, allocations: 29.83 MB / 2.524 GB, free: 201.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006592/4.869, allocations: 3.403 MB / 2.527 GB, free: 200.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/4.87, allocations: 0.9748 MB / 2.528 GB, free: 199.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/4.87, allocations: 79.12 kB / 2.528 GB, free: 199.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=253): time 8.876e-06/4.87, allocations: 6.219 kB / 2.528 GB, free: 199.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=253): time 0.01107/4.882, allocations: 4.407 MB / 2.532 GB, free: 197.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/4.882, allocations: 74.81 kB / 2.532 GB, free: 197.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/4.897, allocations: 5.861 MB / 2.538 GB, free: 195.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/4.898, allocations: 83.98 kB / 2.538 GB, free: 195.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004918/4.903, allocations: 3.017 MB / 2.541 GB, free: 193.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/4.905, allocations: 0.9023 MB / 2.542 GB, free: 192.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006083/4.905, allocations: 63.41 kB / 2.542 GB, free: 192.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004347/4.906, allocations: 450.3 kB / 2.543 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002917/4.909, allocations: 1.504 MB / 2.544 GB, free: 191.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003369/4.912, allocations: 2.656 MB / 2.547 GB, free: 189.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/4.915, allocations: 2.103 MB / 2.549 GB, free: 188.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-05/4.915, allocations: 13.59 kB / 2.549 GB, free: 188.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009734/4.925, allocations: 4.764 MB / 2.553 GB, free: 186.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003745/4.929, allocations: 17.27 MB / 2.57 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-05/4.929, allocations: 37.88 kB / 2.57 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-05/4.929, allocations: 61.12 kB / 2.57 GB, free: 167.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/4.933, allocations: 0.8788 MB / 2.571 GB, free: 167.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006669/4.934, allocations: 1.251 MB / 2.572 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007141/4.941, allocations: 0.5812 MB / 2.573 GB, free: 166.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009134/4.942, allocations: 165.6 kB / 2.573 GB, free: 166.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/4.942, allocations: 5.344 kB / 2.573 GB, free: 166.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0083/4.95, allocations: 4.247 MB / 2.577 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/4.95, allocations: 41.94 kB / 2.577 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.376e-05/4.95, allocations: 60.31 kB / 2.577 GB, free: 164 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/4.954, allocations: 0.8576 MB / 2.578 GB, free: 163.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-05/4.954, allocations: 78.34 kB / 2.578 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006132/4.96, allocations: 0.5281 MB / 2.579 GB, free: 163.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007319/4.961, allocations: 157.5 kB / 2.579 GB, free: 163.4 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.006218/4.967, allocations: 2.539 MB / 2.581 GB, free: 161.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002886/4.97, allocations: 0.5597 MB / 2.582 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008899/4.979, allocations: 3.718 MB / 2.586 GB, free: 157.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-05/4.979, allocations: 35.98 kB / 2.586 GB, free: 157.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/4.979, allocations: 2.625 kB / 2.586 GB, free: 157.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004266/4.983, allocations: 2.81 MB / 2.588 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/5.012, allocations: 9.436 MB / 2.598 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/5.013, allocations: 3.953 kB / 2.598 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/5.015, allocations: 0.5331 MB / 2.598 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.417e-05/5.015, allocations: 11.39 kB / 2.598 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005066/5.016, allocations: 78.89 kB / 2.598 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000538/5.016, allocations: 1.183 MB / 2.599 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/5.016, allocations: 0 / 2.599 GB, free: 143.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/5.027, allocations: 5.673 MB / 2.605 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007357/5.034, allocations: 1.345 MB / 2.606 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003568/5.038, allocations: 63.92 kB / 2.606 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006641/5.044, allocations: 264.4 kB / 2.606 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006269/5.045, allocations: 157.8 kB / 2.607 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000828/5.046, allocations: 139.9 kB / 2.607 GB, free: 135.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01034/5.056, allocations: 4.627 MB / 2.611 GB, free: 130.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.01e-07/5.056, allocations: 0 / 2.611 GB, free: 130.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01663/5.073, allocations: 3.249 MB / 2.614 GB, free: 127.5 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.002639/5.076, allocations: 0.7117 MB / 2.615 GB, free: 126.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01167/5.087, allocations: 5.75 MB / 2.621 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/5.087, allocations: 4.562 kB / 2.621 GB, free: 121.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003035/5.091, allocations: 1.568 MB / 2.622 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02124/5.112, allocations: 3.856 MB / 2.626 GB, free: 116.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03436/5.146, allocations: 15.84 MB / 2.642 GB, free: 100.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/5.156, allocations: 4.676 MB / 2.646 GB, free: 95.67 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01502/5.171, allocations: 3.037 MB / 2.649 GB, free: 92.78 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002894/5.174, allocations: 487.2 kB / 2.65 GB, free: 92.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.144e-06/5.174, allocations: 3.938 kB / 2.65 GB, free: 92.3 MB / 1.167 GB Notification: Performance of Templates: time 0.9386/6.113, allocations: 126.5 MB / 2.773 GB, free: 178.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches