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.317/2.317, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001208/0.001208, allocations: 180.9 kB / 492.3 MB, free: 0.6055 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.857/1.857, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001069/0.001069, allocations: 98.27 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.091e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2981, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.52/6.818, allocations: 2.2 GB / 3.412 GB, free: 76.68 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/6.819, allocations: 91.02 kB / 3.412 GB, free: 76.64 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.77/10.59, allocations: 0.9416 GB / 4.354 GB, free: 24.81 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.204e-06/10.59, allocations: 0 / 4.354 GB, free: 24.81 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0009147/10.59, allocations: 127.9 kB / 4.354 GB, free: 24.69 MB / 1.151 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.01578/10.61, allocations: 4.325 MB / 4.358 GB, free: 20.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/10.61, allocations: 11.97 kB / 4.358 GB, free: 20.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009193/10.61, allocations: 1.293 MB / 4.359 GB, free: 18.98 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/10.63, allocations: 5.547 MB / 4.365 GB, free: 13.37 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/10.63, allocations: 283.5 kB / 4.365 GB, free: 13.09 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/10.63, allocations: 380 kB / 4.366 GB, free: 12.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/10.64, allocations: 5.09 MB / 4.37 GB, free: 7.469 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/10.64, allocations: 15.83 kB / 4.37 GB, free: 7.453 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005754/10.64, allocations: 160 kB / 4.371 GB, free: 7.297 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/10.64, allocations: 171.3 kB / 4.371 GB, free: 7.129 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00903/10.65, allocations: 4.69 MB / 4.375 GB, free: 2.434 MB / 1.151 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.9659/11.62, allocations: 19.73 MB / 4.395 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007/11.63, allocations: 3.256 MB / 4.398 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/11.63, allocations: 1.697 MB / 4.399 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002253/11.63, allocations: 1.866 MB / 4.401 GB, free: 211.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004626/11.64, allocations: 1.865 MB / 4.403 GB, free: 211.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=268): time 5.511e-06/11.64, allocations: 0 / 4.403 GB, free: 211.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=268): time 0.00862/11.65, allocations: 3.174 MB / 4.406 GB, free: 211.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/11.65, allocations: 287.3 kB / 4.407 GB, free: 211.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008589/11.65, allocations: 3.505 MB / 4.41 GB, free: 210.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/11.66, allocations: 79.52 kB / 4.41 GB, free: 210.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002547/11.66, allocations: 1.992 MB / 4.412 GB, free: 210.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.002145/11.66, allocations: 0.9136 MB / 4.413 GB, free: 209.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/11.66, allocations: 58.69 kB / 4.413 GB, free: 209.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003287/11.66, allocations: 424.2 kB / 4.413 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/11.66, allocations: 1.35 MB / 4.415 GB, free: 209.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003187/11.67, allocations: 2.04 MB / 4.417 GB, free: 208.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002732/11.67, allocations: 1.703 MB / 4.418 GB, free: 208.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/11.67, allocations: 7.156 kB / 4.418 GB, free: 208.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007742/11.68, allocations: 3.979 MB / 4.422 GB, free: 208.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001548/11.68, allocations: 7.452 MB / 4.429 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.087e-05/11.68, allocations: 15 kB / 4.429 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/11.68, allocations: 115.9 kB / 4.43 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004744/11.68, allocations: 0.8106 MB / 4.43 GB, free: 200.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/11.69, allocations: 2.163 MB / 4.432 GB, free: 198.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00629/11.69, allocations: 0.5386 MB / 4.433 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/11.69, allocations: 147.2 kB / 4.433 GB, free: 198.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/11.69, allocations: 3.531 kB / 4.433 GB, free: 198.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006732/11.7, allocations: 3.63 MB / 4.437 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.636e-05/11.7, allocations: 16.16 kB / 4.437 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005852/11.7, allocations: 111.5 kB / 4.437 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/11.71, allocations: 0.8116 MB / 4.438 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/11.71, allocations: 1.572 MB / 4.439 GB, free: 197.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006079/11.71, allocations: 499.9 kB / 4.44 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009731/11.72, allocations: 144.5 kB / 4.44 GB, free: 197.2 MB / 1.151 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 () * 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.001573/11.72, allocations: 286.8 kB / 4.44 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002091/11.72, allocations: 391.7 kB / 4.44 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/11.73, allocations: 4 MB / 4.444 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.516e-05/11.73, allocations: 31.58 kB / 4.444 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/11.73, allocations: 2.25 kB / 4.444 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007139/11.74, allocations: 3.102 MB / 4.447 GB, free: 196.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/11.76, allocations: 8.666 MB / 4.456 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/11.76, allocations: 3.562 kB / 4.456 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00411/11.77, allocations: 0.6442 MB / 4.456 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006031/11.77, allocations: 92.2 kB / 4.457 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008605/11.77, allocations: 87.86 kB / 4.457 GB, free: 195.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/11.77, allocations: 2.159 MB / 4.459 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/11.77, allocations: 5.375 kB / 4.459 GB, free: 193.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/11.79, allocations: 5.514 MB / 4.464 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004127/11.79, allocations: 1.096 MB / 4.465 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001997/11.79, allocations: 66.62 kB / 4.465 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005482/11.8, allocations: 344.7 kB / 4.466 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007593/11.8, allocations: 176.4 kB / 4.466 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007587/11.8, allocations: 127.6 kB / 4.466 GB, free: 192.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.007317/11.81, allocations: 2.759 MB / 4.469 GB, free: 192.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.41e-07/11.81, allocations: 0 / 4.469 GB, free: 192.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01439/11.82, allocations: 2.486 MB / 4.471 GB, free: 192.6 MB / 1.151 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) * 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.005067/11.83, allocations: 1.657 MB / 4.473 GB, free: 192.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01417/11.84, allocations: 5.64 MB / 4.478 GB, free: 192.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/11.84, allocations: 3.453 kB / 4.478 GB, free: 192.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.004307/11.84, allocations: 1.758 MB / 4.48 GB, free: 191.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/11.86, allocations: 2.034 MB / 4.482 GB, free: 191.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/11.88, allocations: 7.949 MB / 4.49 GB, free: 190.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00436/11.88, allocations: 3.156 MB / 4.493 GB, free: 189.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01641/11.9, allocations: 3.051 MB / 4.496 GB, free: 189.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002447/11.9, allocations: 325.2 kB / 4.496 GB, free: 189.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.444e-06/11.9, allocations: 0 / 4.496 GB, free: 189.6 MB / 1.151 GB Notification: Performance of Templates: time 0.1571/12.06, allocations: 99.81 MB / 4.593 GB, free: 184.6 MB / 1.151 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