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.001151/0.00115, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.324 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.761/2.761, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 12 kB / 0.8722 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9125/0.9129, allocations: 153.8 MB / 1.022 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04619/0.9591, allocations: 42.39 MB / 1.064 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01872/0.9779, allocations: 10.81 MB / 1.074 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002855/0.9808, allocations: 55.62 kB / 1.074 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.983, allocations: 488.8 kB / 1.075 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.007134/0.9901, allocations: 1.757 MB / 1.077 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.9946, allocations: 1.128 MB / 1.078 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.02784/1.022, allocations: 24.93 MB / 1.102 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/1.034, allocations: 6.41 MB / 1.108 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01419/1.049, allocations: 5.439 MB / 1.114 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01464/1.063, allocations: 5.324 MB / 1.119 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.00326/1.067, allocations: 288 kB / 1.119 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008201/1.075, allocations: 1.08 MB / 1.12 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.004106/1.079, allocations: 1.346 MB / 1.121 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004974/1.084, allocations: 1.584 MB / 1.123 GB, free: 8.898 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01645/1.1, allocations: 10.26 MB / 1.133 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/1.1, allocations: 0 / 1.133 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.216e-06/1.1, allocations: 0 / 1.133 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0004777/1.101, allocations: 0 / 1.133 GB, free: 14.62 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.01977/1.121, allocations: 6.722 MB / 1.14 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.121, allocations: 8.031 kB / 1.14 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005283/1.126, allocations: 0.8579 MB / 1.14 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01747/1.144, allocations: 7.611 MB / 1.148 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004673/1.144, allocations: 423.8 kB / 1.148 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/1.146, allocations: 0.5115 MB / 1.149 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/1.165, allocations: 7.636 MB / 1.156 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/1.165, allocations: 15.88 kB / 1.156 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008497/1.166, allocations: 232 kB / 1.156 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002074/1.166, allocations: 171.9 kB / 1.157 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02117/1.187, allocations: 6.036 MB / 1.162 GB, free: 15.93 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.06638/1.254, allocations: 29.28 MB / 1.191 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005491/1.259, allocations: 3.384 MB / 1.194 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002927/1.262, allocations: 1.948 MB / 1.196 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/1.264, allocations: 1.002 MB / 1.197 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.643e-05/1.264, allocations: 77.12 kB / 1.197 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=253): time 4.879e-06/1.264, allocations: 0 / 1.197 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=253): time 0.009164/1.273, allocations: 4.687 MB / 1.202 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/1.273, allocations: 77.41 kB / 1.202 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/1.285, allocations: 6.104 MB / 1.208 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0009266/1.286, allocations: 89.64 kB / 1.208 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.003352/1.289, allocations: 2.984 MB / 1.211 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.291, allocations: 0.9013 MB / 1.212 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/1.291, allocations: 64 kB / 1.212 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0003406/1.291, allocations: 461.1 kB / 1.212 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/1.294, allocations: 1.619 MB / 1.214 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/1.298, allocations: 2.666 MB / 1.217 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003646/1.301, allocations: 2.211 MB / 1.219 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/1.301, allocations: 8 kB / 1.219 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01105/1.313, allocations: 4.946 MB / 1.224 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.00118/1.314, allocations: 1.032 MB / 1.225 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.702e-05/1.314, allocations: 32 kB / 1.225 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.186e-05/1.314, allocations: 52 kB / 1.225 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/1.317, allocations: 0.819 MB / 1.225 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008816/1.318, allocations: 1.25 MB / 1.227 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00655/1.325, allocations: 0.6161 MB / 1.227 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006711/1.325, allocations: 160 kB / 1.227 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.325, allocations: 4 kB / 1.227 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007901/1.333, allocations: 4.428 MB / 1.232 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.883e-05/1.333, allocations: 32 kB / 1.232 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.908e-05/1.334, allocations: 55.95 kB / 1.232 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/1.336, allocations: 0.78 MB / 1.233 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001103/1.336, allocations: 71.78 kB / 1.233 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/1.342, allocations: 0.5546 MB / 1.233 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005004/1.343, allocations: 156 kB / 1.233 GB, free: 4.793 MB / 0.9825 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 (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.005669/1.348, allocations: 2.525 MB / 1.236 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002537/1.351, allocations: 0.5636 MB / 1.236 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007611/1.359, allocations: 3.898 MB / 1.24 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/1.359, allocations: 31.98 kB / 1.24 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.359, allocations: 0 / 1.24 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004419/1.363, allocations: 2.994 MB / 1.243 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/1.384, allocations: 9.749 MB / 1.253 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.384, allocations: 4 kB / 1.253 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.387, allocations: 0.5931 MB / 1.253 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.508e-05/1.387, allocations: 16 kB / 1.253 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/1.387, allocations: 71.95 kB / 1.253 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.769/2.156, allocations: 1.188 MB / 1.254 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/2.156, allocations: 0.9688 kB / 1.254 GB, free: 207.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/2.169, allocations: 5.645 MB / 1.26 GB, free: 206.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005339/2.174, allocations: 1.316 MB / 1.261 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002102/2.176, allocations: 66.11 kB / 1.261 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005133/2.181, allocations: 389.5 kB / 1.262 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/2.182, allocations: 152.1 kB / 1.262 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/2.182, allocations: 145 kB / 1.262 GB, free: 205.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.01126/2.193, allocations: 4.302 MB / 1.266 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.62e-07/2.193, allocations: 1.312 kB / 1.266 GB, free: 204.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0148/2.208, allocations: 3.231 MB / 1.269 GB, free: 203.7 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 (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.001982/2.21, allocations: 470.6 kB / 1.27 GB, free: 203.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01164/2.222, allocations: 5.999 MB / 1.276 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/2.222, allocations: 4.5 kB / 1.276 GB, free: 201.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002824/2.225, allocations: 1.588 MB / 1.277 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02047/2.245, allocations: 3.959 MB / 1.281 GB, free: 200.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0246/2.27, allocations: 15.92 MB / 1.297 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/2.274, allocations: 4.554 MB / 1.301 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.009537/2.283, allocations: 2.874 MB / 1.304 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001822/2.285, allocations: 475.2 kB / 1.304 GB, free: 184 MB / 0.9981 GB Notification: Performance of SimCode: time 3.186e-06/2.285, allocations: 4 kB / 1.304 GB, free: 184 MB / 0.9981 GB Notification: Performance of Templates: time 0.1808/2.466, allocations: 124.9 MB / 1.426 GB, free: 60.41 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches