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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008274/0.0008274, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.005778/0.005778, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.535/2.535, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004156, allocations: 8 kB / 0.816 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8464, allocations: 142.4 MB / 0.955 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04994/0.8964, allocations: 44.8 MB / 0.9988 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01915/0.9156, allocations: 11.46 MB / 1.01 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.9185, allocations: 55.62 kB / 1.01 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.9208, allocations: 0.5555 MB / 1.011 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007313/0.9282, allocations: 2.061 MB / 1.013 GB, free: 4.305 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004919/0.9331, allocations: 1.36 MB / 1.014 GB, free: 2.957 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.04315/0.9763, allocations: 29.34 MB / 1.043 GB, free: 5.547 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0144/0.9907, allocations: 7.339 MB / 1.05 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/1.004, allocations: 5.364 MB / 1.055 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01129/1.016, allocations: 5.627 MB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001988/1.018, allocations: 288 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007324/1.025, allocations: 1.396 MB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003967/1.029, allocations: 1.427 MB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.01101/1.04, allocations: 3.752 MB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02113/1.061, allocations: 12.23 MB / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/1.061, allocations: 0 / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.869e-06/1.061, allocations: 0 / 1.079 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005713/1.062, allocations: 4 kB / 1.079 GB, free: 15.91 MB / 0.8419 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.01939/1.081, allocations: 6.634 MB / 1.086 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.081, allocations: 8.031 kB / 1.086 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005203/1.087, allocations: 0.8508 MB / 1.086 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/1.104, allocations: 7.814 MB / 1.094 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004992/1.105, allocations: 415.9 kB / 1.094 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001926/1.107, allocations: 0.5077 MB / 1.095 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/1.125, allocations: 7.691 MB / 1.102 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/1.125, allocations: 15.88 kB / 1.102 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007466/1.126, allocations: 224 kB / 1.103 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/1.126, allocations: 167.9 kB / 1.103 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/1.139, allocations: 6.079 MB / 1.109 GB, free: 1.035 MB / 0.8575 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.05009/1.189, allocations: 29.3 MB / 1.137 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/1.195, allocations: 3.401 MB / 1.141 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/1.198, allocations: 1.96 MB / 1.143 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.199, allocations: 1.002 MB / 1.144 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/1.199, allocations: 84.98 kB / 1.144 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=253): time 4.869e-06/1.199, allocations: 0 / 1.144 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=253): time 0.01022/1.21, allocations: 4.707 MB / 1.148 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/1.21, allocations: 81.39 kB / 1.148 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01425/1.224, allocations: 6.146 MB / 1.154 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000975/1.225, allocations: 85.7 kB / 1.154 GB, free: 0.7695 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.003716/1.229, allocations: 2.98 MB / 1.157 GB, free: 13.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001852/1.231, allocations: 0.8974 MB / 1.158 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/1.231, allocations: 284.9 kB / 1.159 GB, free: 12.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.231, allocations: 313.1 kB / 1.159 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/1.234, allocations: 1.63 MB / 1.16 GB, free: 10.63 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/1.238, allocations: 2.686 MB / 1.163 GB, free: 7.492 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006994/1.245, allocations: 4.61 MB / 1.168 GB, free: 2.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-05/1.245, allocations: 8 kB / 1.168 GB, free: 2.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01063/1.256, allocations: 4.97 MB / 1.172 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.001098/1.257, allocations: 1.035 MB / 1.173 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-05/1.257, allocations: 32 kB / 1.173 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.279e-05/1.257, allocations: 52 kB / 1.173 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/1.261, allocations: 0.8034 MB / 1.174 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/1.262, allocations: 1.262 MB / 1.175 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006824/1.269, allocations: 0.6163 MB / 1.176 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007951/1.27, allocations: 156 kB / 1.176 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.27, allocations: 4 kB / 1.176 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00843/1.278, allocations: 4.455 MB / 1.181 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/1.278, allocations: 32 kB / 1.181 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-05/1.278, allocations: 48.88 kB / 1.181 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/1.281, allocations: 0.7878 MB / 1.181 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.879e-05/1.281, allocations: 63.8 kB / 1.182 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/1.287, allocations: 0.5545 MB / 1.182 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008034/1.288, allocations: 163.9 kB / 1.182 GB, free: 2.793 MB / 0.9356 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.006748/1.295, allocations: 2.529 MB / 1.185 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002319/1.297, allocations: 0.5559 MB / 1.185 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007703/1.305, allocations: 3.91 MB / 1.189 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/1.305, allocations: 31.98 kB / 1.189 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.305, allocations: 0 / 1.189 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004649/1.31, allocations: 3.009 MB / 1.192 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.331, allocations: 9.757 MB / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.331, allocations: 0 / 1.202 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.334, allocations: 0.5891 MB / 1.202 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.388e-05/1.334, allocations: 11.94 kB / 1.202 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/1.334, allocations: 83.78 kB / 1.202 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008795/1.335, allocations: 1.188 MB / 1.203 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.335, allocations: 3.938 kB / 1.203 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.346, allocations: 5.665 MB / 1.209 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004455/1.351, allocations: 1.31 MB / 1.21 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/1.352, allocations: 63.92 kB / 1.21 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005012/1.357, allocations: 390.8 kB / 1.211 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003943/1.358, allocations: 149.8 kB / 1.211 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003983/1.358, allocations: 147.9 kB / 1.211 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.008676/1.367, allocations: 4.347 MB / 1.215 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.01e-07/1.367, allocations: 0 / 1.215 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01273/1.38, allocations: 3.238 MB / 1.218 GB, free: 13.37 MB / 0.9825 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.001537/1.381, allocations: 0.5025 MB / 1.219 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01047/1.392, allocations: 6.032 MB / 1.225 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/1.392, allocations: 4.562 kB / 1.225 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003004/1.395, allocations: 1.592 MB / 1.226 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02308/1.418, allocations: 3.96 MB / 1.23 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.445, allocations: 16.46 MB / 1.246 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5865/2.032, allocations: 4.549 MB / 1.251 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0118/2.043, allocations: 2.864 MB / 1.253 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002126/2.046, allocations: 474.6 kB / 1.254 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.044e-06/2.046, allocations: 1.031 kB / 1.254 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.1973/2.243, allocations: 128.3 MB / 1.379 GB, free: 152.2 MB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches