Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solCol.vol.3..T|solCol.vol.6..T|solCol.vol.9..T|solCol.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001333/0.001333, allocations: 184.3 kB / 498.1 MB, free: 5.801 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.942/1.942, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.001381/0.001381, allocations: 102.8 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004867, allocations: 6.75 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4329, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.085/6.518, allocations: 2.2 GB / 3.423 GB, free: 284.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/6.518, allocations: 96.8 kB / 3.423 GB, free: 284.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.665/10.18, allocations: 0.9442 GB / 4.367 GB, free: 240.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.425e-06/10.18, allocations: 0 / 4.367 GB, free: 240.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009603/10.18, allocations: 135.7 kB / 4.367 GB, free: 240.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.01984/10.2, allocations: 5.166 MB / 4.372 GB, free: 235.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/10.2, allocations: 12.03 kB / 4.372 GB, free: 235.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009121/10.21, allocations: 1.297 MB / 4.373 GB, free: 234.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/10.23, allocations: 5.574 MB / 4.379 GB, free: 228.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003577/10.23, allocations: 279.5 kB / 4.379 GB, free: 228.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/10.23, allocations: 379.7 kB / 4.379 GB, free: 228.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/10.25, allocations: 5.429 MB / 4.385 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002433/10.25, allocations: 11.88 kB / 4.385 GB, free: 222.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/10.25, allocations: 166.7 kB / 4.385 GB, free: 222.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/10.25, allocations: 179.2 kB / 4.385 GB, free: 222.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/10.27, allocations: 5.29 MB / 4.39 GB, free: 216.8 MB / 1.167 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.04144/10.31, allocations: 19.73 MB / 4.41 GB, free: 196.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009047/10.32, allocations: 3.628 MB / 4.413 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/10.32, allocations: 1.862 MB / 4.415 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005355/10.32, allocations: 2.085 MB / 4.417 GB, free: 188.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=268): time 8.316e-06/10.32, allocations: 0 / 4.417 GB, free: 188.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=268): time 0.01517/10.34, allocations: 5.16 MB / 4.422 GB, free: 183.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/10.34, allocations: 291.1 kB / 4.422 GB, free: 183.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008206/10.35, allocations: 3.543 MB / 4.426 GB, free: 179.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001059/10.35, allocations: 77.7 kB / 4.426 GB, free: 179.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002666/10.35, allocations: 1.983 MB / 4.428 GB, free: 177.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001867/10.35, allocations: 0.9132 MB / 4.429 GB, free: 176.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007941/10.35, allocations: 56 kB / 4.429 GB, free: 176.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003887/10.35, allocations: 428 kB / 4.429 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004048/10.36, allocations: 1.567 MB / 4.431 GB, free: 174.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/10.36, allocations: 2.257 MB / 4.433 GB, free: 172.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00447/10.37, allocations: 1.909 MB / 4.435 GB, free: 170.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/10.37, allocations: 4 kB / 4.435 GB, free: 170.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01239/10.38, allocations: 4.41 MB / 4.439 GB, free: 165.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001625/10.38, allocations: 7.461 MB / 4.446 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.194e-05/10.38, allocations: 16 kB / 4.446 GB, free: 157.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/10.38, allocations: 116.8 kB / 4.446 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004685/10.39, allocations: 0.8112 MB / 4.447 GB, free: 156.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/10.39, allocations: 2.172 MB / 4.449 GB, free: 154.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00581/10.39, allocations: 0.5313 MB / 4.45 GB, free: 153.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009796/10.4, allocations: 147.9 kB / 4.45 GB, free: 153.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/10.4, allocations: 4 kB / 4.45 GB, free: 153.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01116/10.41, allocations: 4.065 MB / 4.454 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/10.41, allocations: 16.97 kB / 4.454 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/10.41, allocations: 116.8 kB / 4.454 GB, free: 149.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004278/10.41, allocations: 0.8034 MB / 4.455 GB, free: 148.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/10.41, allocations: 1.592 MB / 4.456 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005642/10.42, allocations: 496.8 kB / 4.457 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/10.42, allocations: 143.9 kB / 4.457 GB, free: 146.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005328/10.43, allocations: 1.534 MB / 4.458 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002456/10.43, allocations: 391.2 kB / 4.459 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/10.44, allocations: 4.416 MB / 4.463 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-05/10.44, allocations: 35.92 kB / 4.463 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/10.44, allocations: 8 kB / 4.463 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009108/10.45, allocations: 3.532 MB / 4.467 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0271/10.48, allocations: 9.104 MB / 4.476 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/10.48, allocations: 0 / 4.476 GB, free: 127 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003848/10.48, allocations: 0.6437 MB / 4.476 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005774/10.48, allocations: 88.78 kB / 4.476 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006776/10.48, allocations: 91.91 kB / 4.476 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/10.48, allocations: 2.168 MB / 4.478 GB, free: 123.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/10.48, allocations: 8.016 kB / 4.478 GB, free: 123.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/10.5, allocations: 6.16 MB / 4.485 GB, free: 117.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004018/10.5, allocations: 1.097 MB / 4.486 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001776/10.51, allocations: 59.92 kB / 4.486 GB, free: 116.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004938/10.51, allocations: 347.3 kB / 4.486 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005076/10.51, allocations: 170 kB / 4.486 GB, free: 115.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005537/10.51, allocations: 131.9 kB / 4.486 GB, free: 115.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005996/10.52, allocations: 2.805 MB / 4.489 GB, free: 113 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/10.52, allocations: 0 / 4.489 GB, free: 113 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01179/10.53, allocations: 2.478 MB / 4.491 GB, free: 110.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (288): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004316/10.53, allocations: 1.684 MB / 4.493 GB, free: 109 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01578/10.55, allocations: 6.162 MB / 4.499 GB, free: 102.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/10.55, allocations: 3.078 kB / 4.499 GB, free: 102.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005322/10.55, allocations: 1.975 MB / 4.501 GB, free: 100.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01155/10.57, allocations: 2.053 MB / 4.503 GB, free: 98.84 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02683/10.59, allocations: 11.3 MB / 4.514 GB, free: 87.49 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004901/10.6, allocations: 3.148 MB / 4.517 GB, free: 84.31 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008979/10.61, allocations: 2.077 MB / 4.519 GB, free: 82.23 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/10.61, allocations: 403.2 kB / 4.52 GB, free: 81.84 MB / 1.167 GB Notification: Performance of SimCode: time 2.174e-06/10.61, allocations: 0 / 4.52 GB, free: 81.84 MB / 1.167 GB Notification: Performance of Templates: time 0.878/11.49, allocations: 91.62 MB / 4.609 GB, free: 271.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Examples_Tubular.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches