Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 178.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.8 MB / 0.7128 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 12 kB / 0.8735 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7555, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04644/0.802, allocations: 44.82 MB / 1.067 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01682/0.8188, allocations: 11.45 MB / 1.079 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.8211, allocations: 55.69 kB / 1.079 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.8231, allocations: 0.5593 MB / 1.079 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006389/0.8295, allocations: 2.065 MB / 1.081 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.8338, allocations: 1.362 MB / 1.083 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.029/0.8628, allocations: 29.33 MB / 1.111 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.8739, allocations: 7.335 MB / 1.118 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.8866, allocations: 5.372 MB / 1.124 GB, free: 9.18 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01085/0.8976, allocations: 5.63 MB / 1.129 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002279/0.8999, allocations: 288 kB / 1.129 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006617/0.9065, allocations: 1.388 MB / 1.131 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003451/0.91, allocations: 1.431 MB / 1.132 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.009014/0.919, allocations: 3.756 MB / 1.136 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.9318, allocations: 10.33 MB / 1.146 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9319, allocations: 0 / 1.146 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9319, allocations: 0 / 1.146 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004519/0.9323, allocations: 8 kB / 1.146 GB, free: 2.266 MB / 0.8887 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.017/0.9493, allocations: 6.632 MB / 1.152 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.9494, allocations: 8.031 kB / 1.152 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.9539, allocations: 0.8625 MB / 1.153 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/0.9701, allocations: 7.802 MB / 1.161 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005086/0.9707, allocations: 415.9 kB / 1.161 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.9725, allocations: 0.5076 MB / 1.162 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01803/0.9906, allocations: 7.683 MB / 1.169 GB, free: 9.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002715/0.9909, allocations: 19.88 kB / 1.169 GB, free: 9.871 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001279/0.9922, allocations: 224 kB / 1.169 GB, free: 9.652 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/0.9924, allocations: 171.9 kB / 1.17 GB, free: 9.484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/1.005, allocations: 6.079 MB / 1.176 GB, free: 3.391 MB / 0.92 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.04714/1.053, allocations: 29.29 MB / 1.204 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005908/1.059, allocations: 3.4 MB / 1.208 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003558/1.062, allocations: 1.96 MB / 1.209 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.063, allocations: 1.002 MB / 1.21 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/1.064, allocations: 81 kB / 1.21 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=253): time 4.939e-06/1.064, allocations: 4 kB / 1.21 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=253): time 0.009713/1.073, allocations: 4.703 MB / 1.215 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/1.073, allocations: 77.41 kB / 1.215 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.085, allocations: 6.154 MB / 1.221 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0008396/1.086, allocations: 85.7 kB / 1.221 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.003031/1.089, allocations: 2.984 MB / 1.224 GB, free: 124 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001619/1.091, allocations: 0.8974 MB / 1.225 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004281/1.091, allocations: 288.9 kB / 1.225 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.092, allocations: 301.1 kB / 1.226 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002572/1.094, allocations: 1.634 MB / 1.227 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/1.097, allocations: 2.69 MB / 1.23 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006223/1.104, allocations: 4.602 MB / 1.234 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/1.104, allocations: 8 kB / 1.234 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009192/1.113, allocations: 4.974 MB / 1.239 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007838/1.114, allocations: 1.032 MB / 1.24 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/1.114, allocations: 28 kB / 1.24 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.545e-05/1.114, allocations: 52 kB / 1.24 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003058/1.117, allocations: 0.8189 MB / 1.241 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007917/1.118, allocations: 1.25 MB / 1.242 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/1.123, allocations: 0.6122 MB / 1.243 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/1.124, allocations: 156 kB / 1.243 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.124, allocations: 4 kB / 1.243 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007246/1.131, allocations: 4.463 MB / 1.247 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-05/1.131, allocations: 35.94 kB / 1.247 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-05/1.131, allocations: 55.98 kB / 1.247 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/1.134, allocations: 0.78 MB / 1.248 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-05/1.134, allocations: 63.8 kB / 1.248 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005543/1.139, allocations: 0.5506 MB / 1.249 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004751/1.14, allocations: 163.9 kB / 1.249 GB, free: 5.156 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005384/1.145, allocations: 2.529 MB / 1.251 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002096/1.147, allocations: 0.5597 MB / 1.252 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6587/1.806, allocations: 3.906 MB / 1.256 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.136e-05/1.806, allocations: 28.22 kB / 1.256 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.806, allocations: 0 / 1.256 GB, free: 209.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00656/1.813, allocations: 3.011 MB / 1.259 GB, free: 208.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/1.839, allocations: 9.756 MB / 1.268 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/1.839, allocations: 2.719 kB / 1.268 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002548/1.842, allocations: 0.5924 MB / 1.269 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.253e-05/1.842, allocations: 9.125 kB / 1.269 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/1.842, allocations: 78.91 kB / 1.269 GB, free: 204.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004846/1.842, allocations: 1.192 MB / 1.27 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.842, allocations: 1.375 kB / 1.27 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.853, allocations: 5.665 MB / 1.276 GB, free: 201.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00449/1.858, allocations: 1.322 MB / 1.277 GB, free: 201 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001973/1.86, allocations: 60.09 kB / 1.277 GB, free: 201 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005441/1.865, allocations: 390.4 kB / 1.277 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/1.866, allocations: 157.7 kB / 1.278 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004505/1.866, allocations: 146.8 kB / 1.278 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00823/1.874, allocations: 4.351 MB / 1.282 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.42e-07/1.874, allocations: 0 / 1.282 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0119/1.886, allocations: 3.236 MB / 1.285 GB, free: 199 MB / 0.9981 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/1.888, allocations: 495.6 kB / 1.286 GB, free: 198.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009078/1.897, allocations: 6.036 MB / 1.291 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/1.897, allocations: 4.344 kB / 1.291 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.899, allocations: 1.592 MB / 1.293 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02248/1.922, allocations: 3.957 MB / 1.297 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/1.946, allocations: 16.53 MB / 1.313 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/1.95, allocations: 4.53 MB / 1.317 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/1.952, allocations: 499.2 kB / 1.318 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.001e-06/1.952, allocations: 0 / 1.318 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.2043/2.156, allocations: 191.3 MB / 1.505 GB, free: 11.98 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches