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.334/2.334, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001565/0.001565, allocations: 187.9 kB / 487.4 MB, free: 5.055 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.581/1.581, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 109.5 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.877e-05, allocations: 6.109 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.285, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.559, allocations: 442.3 MB / 1.638 GB, free: 13.15 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/1.559, allocations: 88.08 kB / 1.638 GB, free: 13.11 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.162/4.72, allocations: 0.7869 GB / 2.425 GB, free: 214.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.352e-06/4.721, allocations: 0 / 2.425 GB, free: 214.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.001612/4.722, allocations: 203.1 kB / 2.425 GB, free: 214.3 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.02245/4.745, allocations: 5.691 MB / 2.431 GB, free: 208.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/4.745, allocations: 12.02 kB / 2.431 GB, free: 208.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/4.751, allocations: 0.8514 MB / 2.432 GB, free: 207.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05816/4.809, allocations: 24.37 MB / 2.455 GB, free: 184 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/4.81, allocations: 243.8 kB / 2.456 GB, free: 183.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/4.813, allocations: 302.5 kB / 2.456 GB, free: 183.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01373/4.826, allocations: 5.012 MB / 2.461 GB, free: 178.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/4.851, allocations: 6.293 MB / 2.467 GB, free: 171.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004142/4.851, allocations: 19.78 kB / 2.467 GB, free: 171.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/4.853, allocations: 15.75 kB / 2.467 GB, free: 171.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000265/4.853, allocations: 228.4 kB / 2.467 GB, free: 171.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.04914/4.903, allocations: 28.73 MB / 2.495 GB, free: 141.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005996/4.909, allocations: 3.224 MB / 2.498 GB, free: 138.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/4.911, allocations: 1.622 MB / 2.5 GB, free: 137 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/4.912, allocations: 0.9699 MB / 2.501 GB, free: 135.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/4.913, allocations: 84.17 kB / 2.501 GB, free: 135.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=253): time 6.092e-06/4.913, allocations: 0 / 2.501 GB, free: 135.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=253): time 0.008617/4.921, allocations: 3.054 MB / 2.504 GB, free: 132.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/4.921, allocations: 77.41 kB / 2.504 GB, free: 132.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/4.934, allocations: 4.746 MB / 2.509 GB, free: 127.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/4.935, allocations: 29.7 kB / 2.509 GB, free: 127.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003899/4.939, allocations: 2.998 MB / 2.512 GB, free: 124.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001868/4.941, allocations: 0.8624 MB / 2.512 GB, free: 123.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005454/4.941, allocations: 0 / 2.512 GB, free: 123.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000397/4.942, allocations: 457.1 kB / 2.513 GB, free: 123.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/4.944, allocations: 1.385 MB / 2.514 GB, free: 122.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/4.947, allocations: 2.524 MB / 2.517 GB, free: 119 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/4.951, allocations: 2.09 MB / 2.519 GB, free: 116.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.208e-05/4.951, allocations: 8 kB / 2.519 GB, free: 116.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009568/4.961, allocations: 4.359 MB / 2.523 GB, free: 112.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.004333/4.965, allocations: 16.65 MB / 2.539 GB, free: 94.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.55e-05/4.965, allocations: 36 kB / 2.539 GB, free: 94.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-05/4.965, allocations: 60 kB / 2.539 GB, free: 94.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/4.969, allocations: 0.8815 MB / 2.54 GB, free: 93.16 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006525/4.969, allocations: 1.246 MB / 2.541 GB, free: 91.86 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006616/4.976, allocations: 448 kB / 2.542 GB, free: 91.42 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008457/4.977, allocations: 164 kB / 2.542 GB, free: 91.26 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/4.977, allocations: 4 kB / 2.542 GB, free: 91.26 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008062/4.985, allocations: 3.835 MB / 2.546 GB, free: 87.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-05/4.985, allocations: 36.95 kB / 2.546 GB, free: 87.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.851e-05/4.985, allocations: 60 kB / 2.546 GB, free: 87.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/4.988, allocations: 0.8649 MB / 2.547 GB, free: 86.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.947e-05/4.988, allocations: 79.72 kB / 2.547 GB, free: 86.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006187/4.995, allocations: 376.7 kB / 2.547 GB, free: 85.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006152/4.995, allocations: 171.8 kB / 2.547 GB, free: 85.81 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.001335/4.997, allocations: 215.7 kB / 2.547 GB, free: 85.59 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002809/4.999, allocations: 0.4902 MB / 2.548 GB, free: 85.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00798/5.007, allocations: 3.467 MB / 2.551 GB, free: 81.57 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/5.007, allocations: 27.98 kB / 2.551 GB, free: 81.55 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/5.008, allocations: 3.953 kB / 2.551 GB, free: 81.54 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004054/5.012, allocations: 2.678 MB / 2.554 GB, free: 78.81 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/5.032, allocations: 8.643 MB / 2.562 GB, free: 70.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/5.033, allocations: 7.891 kB / 2.562 GB, free: 70.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002302/5.035, allocations: 0.5345 MB / 2.563 GB, free: 69.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.362e-05/5.035, allocations: 8 kB / 2.563 GB, free: 69.57 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/5.035, allocations: 47.95 kB / 2.563 GB, free: 69.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004261/5.036, allocations: 1.18 MB / 2.564 GB, free: 68.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/5.036, allocations: 7.938 kB / 2.564 GB, free: 68.29 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008558/5.044, allocations: 5.382 MB / 2.569 GB, free: 62.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004498/5.049, allocations: 1.267 MB / 2.571 GB, free: 61.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/5.051, allocations: 15.98 kB / 2.571 GB, free: 61.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005226/5.056, allocations: 211.2 kB / 2.571 GB, free: 61.28 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/5.057, allocations: 161.8 kB / 2.571 GB, free: 61.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005685/5.057, allocations: 139.9 kB / 2.571 GB, free: 60.98 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.008325/5.066, allocations: 3.669 MB / 2.575 GB, free: 57.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.454e-06/5.066, allocations: 7.938 kB / 2.575 GB, free: 57.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01631/5.082, allocations: 3.204 MB / 2.578 GB, free: 54.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.002445/5.084, allocations: 0.6769 MB / 2.579 GB, free: 53.51 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0111/5.096, allocations: 5.481 MB / 2.584 GB, free: 48.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.075e-05/5.096, allocations: 8.625 kB / 2.584 GB, free: 48.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/5.098, allocations: 1.475 MB / 2.585 GB, free: 46.53 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01894/5.117, allocations: 3.19 MB / 2.588 GB, free: 43.48 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02946/5.147, allocations: 11.43 MB / 2.6 GB, free: 32.13 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007361/5.154, allocations: 4.69 MB / 2.604 GB, free: 27.41 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0177/5.172, allocations: 4.499 MB / 2.609 GB, free: 23.05 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/5.174, allocations: 339.3 kB / 2.609 GB, free: 22.71 MB / 1.151 GB Notification: Performance of SimCode: time 9.62e-07/5.174, allocations: 0 / 2.609 GB, free: 22.71 MB / 1.151 GB Notification: Performance of Templates: time 0.9553/6.129, allocations: 108 MB / 2.714 GB, free: 204.2 MB / 1.151 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