Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.Pipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.156/2.156, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001048/0.001048, allocations: 180.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 0.7915 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009397, allocations: 87.97 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.547e-05/4.575e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3448, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/1.702, allocations: 443.8 MB / 1.652 GB, free: 6.641 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.702, allocations: 87.95 kB / 1.652 GB, free: 6.555 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 3.405/5.107, allocations: 0.7917 GB / 2.444 GB, free: 99.87 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.234e-06/5.107, allocations: 0 / 2.444 GB, free: 99.87 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.001603/5.109, allocations: 195.8 kB / 2.444 GB, free: 99.68 MB / 1.135 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.02063/5.129, allocations: 5.694 MB / 2.45 GB, free: 93.91 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/5.129, allocations: 8.031 kB / 2.45 GB, free: 93.9 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/5.136, allocations: 0.8462 MB / 2.451 GB, free: 93.04 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05872/5.195, allocations: 24.43 MB / 2.474 GB, free: 68.39 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006044/5.195, allocations: 415.8 kB / 2.475 GB, free: 67.97 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/5.198, allocations: 0.4998 MB / 2.475 GB, free: 67.47 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/5.22, allocations: 7.029 MB / 2.482 GB, free: 60.15 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/5.22, allocations: 23.78 kB / 2.482 GB, free: 60.13 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001187/5.221, allocations: 224 kB / 2.482 GB, free: 59.91 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002131/5.222, allocations: 225.5 kB / 2.483 GB, free: 59.69 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/5.233, allocations: 5.343 MB / 2.488 GB, free: 54.33 MB / 1.135 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.04713/5.28, allocations: 29.83 MB / 2.517 GB, free: 23.11 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/5.285, allocations: 3.359 MB / 2.52 GB, free: 19.75 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/5.287, allocations: 1.7 MB / 2.522 GB, free: 18.05 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/5.288, allocations: 0.9707 MB / 2.523 GB, free: 16.88 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.555e-05/5.288, allocations: 77.11 kB / 2.523 GB, free: 16.79 MB / 1.135 GB Notification: Performance of pre-optimization done (n=253): time 4.649e-06/5.288, allocations: 0 / 2.523 GB, free: 16.79 MB / 1.135 GB Notification: Performance of matching and sorting (n=253): time 0.006427/5.295, allocations: 3.159 MB / 2.526 GB, free: 13.62 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/5.295, allocations: 77.41 kB / 2.526 GB, free: 13.53 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/5.307, allocations: 5.807 MB / 2.532 GB, free: 7.711 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001293/5.309, allocations: 81.64 kB / 2.532 GB, free: 7.625 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.00265/5.311, allocations: 3.023 MB / 2.535 GB, free: 4.578 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001547/5.313, allocations: 0.8993 MB / 2.536 GB, free: 3.668 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/5.313, allocations: 68 kB / 2.536 GB, free: 3.602 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001791/5.313, allocations: 449.2 kB / 2.536 GB, free: 3.156 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/5.315, allocations: 1.459 MB / 2.538 GB, free: 1.695 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/5.318, allocations: 2.605 MB / 2.54 GB, free: 14.58 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/5.321, allocations: 2.076 MB / 2.542 GB, free: 12.48 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-05/5.321, allocations: 8 kB / 2.542 GB, free: 12.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008998/5.33, allocations: 4.674 MB / 2.547 GB, free: 7.742 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.7827/6.113, allocations: 17.27 MB / 2.564 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/6.113, allocations: 35.8 kB / 2.564 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/6.113, allocations: 60.19 kB / 2.564 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004836/6.118, allocations: 0.8755 MB / 2.565 GB, free: 191.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007161/6.118, allocations: 1.247 MB / 2.566 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008067/6.127, allocations: 0.5798 MB / 2.566 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001155/6.128, allocations: 167 kB / 2.566 GB, free: 190.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/6.128, allocations: 3.156 kB / 2.566 GB, free: 190.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009557/6.137, allocations: 4.163 MB / 2.571 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.357e-05/6.137, allocations: 37.91 kB / 2.571 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001194/6.138, allocations: 64.06 kB / 2.571 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003618/6.141, allocations: 0.858 MB / 2.571 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001193/6.141, allocations: 77.42 kB / 2.572 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006453/6.148, allocations: 0.5199 MB / 2.572 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006013/6.148, allocations: 166.3 kB / 2.572 GB, free: 190.4 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.001406/6.15, allocations: 332.7 kB / 2.573 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002532/6.152, allocations: 0.5582 MB / 2.573 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007844/6.16, allocations: 3.654 MB / 2.577 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-05/6.16, allocations: 30.45 kB / 2.577 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/6.16, allocations: 0 / 2.577 GB, free: 190.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/6.164, allocations: 2.747 MB / 2.579 GB, free: 189.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/6.189, allocations: 9.354 MB / 2.589 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/6.189, allocations: 1.562 kB / 2.589 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/6.191, allocations: 0.5381 MB / 2.589 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.363e-05/6.191, allocations: 9.031 kB / 2.589 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002674/6.192, allocations: 78.94 kB / 2.589 GB, free: 189.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006044/6.192, allocations: 1.183 MB / 2.59 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/6.192, allocations: 3.844 kB / 2.59 GB, free: 188.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/6.203, allocations: 5.568 MB / 2.596 GB, free: 187.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005554/6.209, allocations: 1.352 MB / 2.597 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002471/6.212, allocations: 59.14 kB / 2.597 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006004/6.218, allocations: 267.2 kB / 2.597 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/6.218, allocations: 148.8 kB / 2.597 GB, free: 187.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000607/6.219, allocations: 146.9 kB / 2.598 GB, free: 187.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0125/6.231, allocations: 4.575 MB / 2.602 GB, free: 186.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.41e-07/6.231, allocations: 0 / 2.602 GB, free: 186.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01862/6.25, allocations: 3.247 MB / 2.605 GB, free: 186.6 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.002986/6.253, allocations: 0.7042 MB / 2.606 GB, free: 186.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.015/6.268, allocations: 5.814 MB / 2.612 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.126e-05/6.268, allocations: 5.094 kB / 2.612 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003478/6.272, allocations: 1.527 MB / 2.613 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02326/6.295, allocations: 3.861 MB / 2.617 GB, free: 186.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03016/6.325, allocations: 11.81 MB / 2.628 GB, free: 184.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005871/6.331, allocations: 4.693 MB / 2.633 GB, free: 183.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01703/6.348, allocations: 5.022 MB / 2.638 GB, free: 183.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001684/6.35, allocations: 359.5 kB / 2.638 GB, free: 183.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.042e-06/6.35, allocations: 2.344 kB / 2.638 GB, free: 183.3 MB / 1.151 GB Notification: Performance of Templates: time 0.2024/6.552, allocations: 130.8 MB / 2.766 GB, free: 171.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_Pipe.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches