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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 99.5 kB / 16.02 MB, free: 76 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.001283/0.001282, allocations: 188.9 kB / 16.92 MB, free: 6.75 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 443.2 MB / 0.7181 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 8.969 kB / 0.8801 GB, free: 42.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 155.1 MB / 1.032 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04617/0.3836, allocations: 44.81 MB / 1.075 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01971/0.4034, allocations: 11.46 MB / 1.087 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.4059, allocations: 55.62 kB / 1.087 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.4079, allocations: 0.5594 MB / 1.087 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006236/0.4141, allocations: 2.048 MB / 1.089 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003886/0.418, allocations: 1.363 MB / 1.09 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02845/0.4465, allocations: 29.35 MB / 1.119 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.458, allocations: 7.319 MB / 1.126 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.4714, allocations: 5.372 MB / 1.132 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/0.4833, allocations: 5.634 MB / 1.137 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002268/0.4857, allocations: 288 kB / 1.137 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007274/0.493, allocations: 1.396 MB / 1.139 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003627/0.4966, allocations: 1.423 MB / 1.14 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009738/0.5064, allocations: 3.756 MB / 1.144 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.5211, allocations: 10.33 MB / 1.154 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5212, allocations: 4 kB / 1.154 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.706e-06/0.5212, allocations: 0 / 1.154 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004791/0.5217, allocations: 0 / 1.154 GB, free: 7.215 MB / 0.9044 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.01776/0.5395, allocations: 6.638 MB / 1.16 GB, free: 500 kB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.5395, allocations: 15.97 kB / 1.16 GB, free: 484 kB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005113/0.5447, allocations: 0.8625 MB / 1.161 GB, free: 15.6 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01611/0.5608, allocations: 7.798 MB / 1.169 GB, free: 7.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004306/0.5613, allocations: 419.8 kB / 1.169 GB, free: 7.301 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.5628, allocations: 0.5076 MB / 1.17 GB, free: 6.793 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.579, allocations: 7.675 MB / 1.177 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001557/0.5792, allocations: 23.78 kB / 1.177 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007933/0.58, allocations: 224 kB / 1.177 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.5802, allocations: 171.9 kB / 1.178 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.5931, allocations: 6.079 MB / 1.184 GB, free: 8.328 MB / 0.9356 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.04662/0.6398, allocations: 29.29 MB / 1.212 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005517/0.6454, allocations: 3.407 MB / 1.215 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00276/0.6482, allocations: 1.964 MB / 1.217 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.6493, allocations: 0.9982 MB / 1.218 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.057e-05/0.6494, allocations: 85 kB / 1.218 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=253): time 4.458e-06/0.6494, allocations: 0 / 1.218 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=253): time 0.008503/0.6579, allocations: 4.699 MB / 1.223 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.658, allocations: 85.41 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/0.6686, allocations: 6.154 MB / 1.229 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/0.6697, allocations: 81.64 kB / 1.229 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.003524/0.6733, allocations: 2.984 MB / 1.232 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001705/0.675, allocations: 0.8974 MB / 1.233 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/0.6755, allocations: 284.9 kB / 1.233 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6757, allocations: 301.1 kB / 1.234 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002956/0.6786, allocations: 1.642 MB / 1.235 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003645/0.6823, allocations: 2.678 MB / 1.238 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006699/0.689, allocations: 4.602 MB / 1.242 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.6891, allocations: 12 kB / 1.242 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009399/0.6985, allocations: 4.97 MB / 1.247 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009106/0.6995, allocations: 1.031 MB / 1.248 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-05/0.6995, allocations: 35.94 kB / 1.248 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.656e-05/0.6996, allocations: 48 kB / 1.248 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/0.7027, allocations: 0.8113 MB / 1.249 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000858/0.7035, allocations: 1.254 MB / 1.25 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005956/0.7095, allocations: 0.6201 MB / 1.251 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004722/0.71, allocations: 160 kB / 1.251 GB, free: 248 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.71, allocations: 4 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6696/1.38, allocations: 4.451 MB / 1.255 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.49e-05/1.38, allocations: 31.41 kB / 1.255 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.959e-05/1.38, allocations: 50.23 kB / 1.255 GB, free: 196.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/1.383, allocations: 0.7831 MB / 1.256 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.54e-05/1.383, allocations: 68.3 kB / 1.256 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/1.388, allocations: 0.5492 MB / 1.257 GB, free: 196.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004944/1.389, allocations: 161.2 kB / 1.257 GB, free: 196.6 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.005926/1.395, allocations: 2.533 MB / 1.259 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002094/1.397, allocations: 0.5585 MB / 1.26 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008223/1.405, allocations: 3.905 MB / 1.264 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.177e-05/1.405, allocations: 29.33 kB / 1.264 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.405, allocations: 10.16 kB / 1.264 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004878/1.41, allocations: 3.005 MB / 1.267 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/1.433, allocations: 9.762 MB / 1.276 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.433, allocations: 5 kB / 1.276 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002352/1.435, allocations: 0.5901 MB / 1.277 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-05/1.436, allocations: 9.156 kB / 1.277 GB, free: 191.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001784/1.436, allocations: 80.56 kB / 1.277 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000402/1.436, allocations: 1.19 MB / 1.278 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.436, allocations: 1.219 kB / 1.278 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008028/1.444, allocations: 5.66 MB / 1.284 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0034/1.448, allocations: 1.321 MB / 1.285 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/1.449, allocations: 61.98 kB / 1.285 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004495/1.453, allocations: 387.7 kB / 1.285 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/1.454, allocations: 155.8 kB / 1.285 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003561/1.454, allocations: 144.2 kB / 1.286 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00799/1.462, allocations: 4.35 MB / 1.29 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/1.462, allocations: 0 / 1.29 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0114/1.474, allocations: 3.24 MB / 1.293 GB, free: 185.2 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.001279/1.475, allocations: 494.1 kB / 1.294 GB, free: 185 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008155/1.483, allocations: 6.036 MB / 1.299 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/1.483, allocations: 4.562 kB / 1.299 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/1.485, allocations: 1.594 MB / 1.301 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02105/1.506, allocations: 3.956 MB / 1.305 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/1.529, allocations: 16.52 MB / 1.321 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003975/1.533, allocations: 4.536 MB / 1.325 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002323/1.535, allocations: 495.2 kB / 1.326 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.913e-06/1.536, allocations: 6.844 kB / 1.326 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.2105/1.746, allocations: 191.3 MB / 1.513 GB, free: 9.645 MB / 1.045 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.Pipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches