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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001011/0.001011, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001067/0.001067, allocations: 177.3 kB / 15.94 MB, free: 228 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.456/1.456, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003707, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8541/0.8545, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03959/0.8941, allocations: 38.5 MB / 0.9911 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01862/0.9128, allocations: 9.977 MB / 1.001 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.9158, allocations: 51.69 kB / 1.001 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.9186, allocations: 0.6218 MB / 1.002 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007262/0.9259, allocations: 2.001 MB / 1.003 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004915/0.9308, allocations: 1.542 MB / 1.005 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01508/0.9459, allocations: 12.2 MB / 1.017 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009419/0.9554, allocations: 6.433 MB / 1.023 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.9665, allocations: 4.585 MB / 1.028 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009587/0.9762, allocations: 3.682 MB / 1.031 GB, free: 348 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002255/0.9785, allocations: 292 kB / 1.032 GB, free: 56 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006957/0.9854, allocations: 0.9872 MB / 1.032 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003213/0.9887, allocations: 1.3 MB / 1.034 GB, free: 13.76 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004656/0.9934, allocations: 1.584 MB / 1.035 GB, free: 12.17 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01336/1.007, allocations: 10.16 MB / 1.045 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.007, allocations: 0 / 1.045 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.396e-06/1.007, allocations: 0 / 1.045 GB, free: 1.984 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004278/1.007, allocations: 0 / 1.045 GB, free: 1.984 MB / 0.795 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.01578/1.023, allocations: 6.685 MB / 1.052 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/1.023, allocations: 12.03 kB / 1.052 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/1.028, allocations: 0.854 MB / 1.053 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01662/1.044, allocations: 7.008 MB / 1.059 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/1.045, allocations: 411.9 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/1.046, allocations: 0.5115 MB / 1.06 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/1.061, allocations: 7.608 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/1.061, allocations: 23.78 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007233/1.062, allocations: 220 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000206/1.062, allocations: 167.9 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0124/1.075, allocations: 6.04 MB / 1.074 GB, free: 3.977 MB / 0.8262 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.0449/1.12, allocations: 29.64 MB / 1.103 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005796/1.125, allocations: 3.599 MB / 1.106 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.127, allocations: 1.006 MB / 1.107 GB, free: 288 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.438e-05/1.127, allocations: 73.12 kB / 1.108 GB, free: 208 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=253): time 4.177e-06/1.127, allocations: 0 / 1.108 GB, free: 208 kB / 0.8575 GB Notification: Performance of matching and sorting (n=253): time 0.008299/1.135, allocations: 4.672 MB / 1.112 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/1.135, allocations: 77.41 kB / 1.112 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01058/1.146, allocations: 6.701 MB / 1.119 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0006972/1.146, allocations: 77.7 kB / 1.119 GB, free: 4.637 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002732/1.149, allocations: 3.008 MB / 1.122 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.151, allocations: 0.8974 MB / 1.123 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/1.151, allocations: 72 kB / 1.123 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002373/1.151, allocations: 453.2 kB / 1.123 GB, free: 184 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/1.153, allocations: 1.611 MB / 1.125 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/1.156, allocations: 2.643 MB / 1.127 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003027/1.159, allocations: 2.215 MB / 1.129 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/1.159, allocations: 8 kB / 1.129 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008412/1.168, allocations: 4.935 MB / 1.134 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.006029/1.174, allocations: 15.14 MB / 1.149 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.897e-05/1.174, allocations: 32 kB / 1.149 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-05/1.174, allocations: 52 kB / 1.149 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004004/1.178, allocations: 0.8931 MB / 1.15 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008675/1.179, allocations: 1.246 MB / 1.151 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006207/1.185, allocations: 0.6549 MB / 1.152 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007434/1.186, allocations: 156 kB / 1.152 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.186, allocations: 5.094 kB / 1.152 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007441/1.193, allocations: 4.424 MB / 1.156 GB, free: 12.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/1.194, allocations: 28 kB / 1.156 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.031e-05/1.194, allocations: 60.12 kB / 1.156 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/1.197, allocations: 0.8541 MB / 1.157 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.307e-05/1.197, allocations: 67.78 kB / 1.157 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005218/1.202, allocations: 0.593 MB / 1.158 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005245/1.203, allocations: 160 kB / 1.158 GB, free: 10.83 MB / 0.92 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.005073/1.208, allocations: 2.525 MB / 1.161 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001941/1.21, allocations: 0.5675 MB / 1.161 GB, free: 7.715 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006784/1.216, allocations: 3.898 MB / 1.165 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/1.217, allocations: 27.94 kB / 1.165 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.217, allocations: 0 / 1.165 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004197/1.221, allocations: 2.978 MB / 1.168 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/1.24, allocations: 9.917 MB / 1.177 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.24, allocations: 0 / 1.177 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00234/1.243, allocations: 0.5579 MB / 1.178 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.246e-05/1.243, allocations: 12 kB / 1.178 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/1.243, allocations: 79.95 kB / 1.178 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000709/1.244, allocations: 1.18 MB / 1.179 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.244, allocations: 4 kB / 1.179 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.254, allocations: 5.759 MB / 1.185 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006037/1.26, allocations: 1.43 MB / 1.186 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002115/1.262, allocations: 59.98 kB / 1.186 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005193/1.267, allocations: 398.8 kB / 1.187 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/1.268, allocations: 153.8 kB / 1.187 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003789/1.268, allocations: 147.8 kB / 1.187 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.008399/1.277, allocations: 4.773 MB / 1.192 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.61e-07/1.277, allocations: 0 / 1.192 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.01459/1.291, allocations: 3.289 MB / 1.195 GB, free: 4.594 MB / 0.9512 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.001611/1.293, allocations: 498.3 kB / 1.195 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.009709/1.303, allocations: 5.989 MB / 1.201 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.303, allocations: 4.562 kB / 1.201 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/1.305, allocations: 1.584 MB / 1.203 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02046/1.326, allocations: 3.897 MB / 1.207 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/1.353, allocations: 15.83 MB / 1.222 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/1.358, allocations: 4.673 MB / 1.227 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.01002/1.368, allocations: 2.873 MB / 1.229 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.37, allocations: 483.2 kB / 1.23 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of SimCode: time 1.072e-06/1.37, allocations: 0 / 1.23 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of Templates: time 0.8445/2.214, allocations: 128 MB / 1.355 GB, free: 206.3 MB / 1.014 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