Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y") translateModel(Buildings.Fluid.Movers.Examples.ClosedLoop_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPID.u_s|conPID.u_m|conPID.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.632/2.632, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001375/0.001375, allocations: 169.2 kB / 498.1 MB, free: 5.77 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.707/1.707, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.001265/0.001266, allocations: 100.2 kB / 0.9346 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004103, allocations: 10.56 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.378, allocations: 142.3 MB / 1.223 GB, free: 89.65 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.658/5.036, allocations: 1.948 GB / 3.171 GB, free: 28.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/5.036, allocations: 101.4 kB / 3.171 GB, free: 28.69 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.994/8.031, allocations: 0.813 GB / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.525e-06/8.031, allocations: 0 / 3.984 GB, free: 118.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000377/8.031, allocations: 40 kB / 3.984 GB, free: 118.9 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.009157/8.04, allocations: 2.318 MB / 3.987 GB, free: 116.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/8.04, allocations: 12.03 kB / 3.987 GB, free: 116.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/8.045, allocations: 0.5056 MB / 3.987 GB, free: 116 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006153/8.051, allocations: 1.866 MB / 3.989 GB, free: 114 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/8.051, allocations: 78 kB / 3.989 GB, free: 114 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/8.051, allocations: 107.9 kB / 3.989 GB, free: 113.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/8.054, allocations: 1.183 MB / 3.99 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/8.054, allocations: 4 kB / 3.99 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/8.054, allocations: 43.98 kB / 3.99 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/8.055, allocations: 37.94 kB / 3.99 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/8.057, allocations: 0.9642 MB / 3.991 GB, free: 111.6 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.008092/8.065, allocations: 4.996 MB / 3.996 GB, free: 106.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/8.067, allocations: 0.9807 MB / 3.997 GB, free: 105.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002036/8.067, allocations: 110.6 kB / 3.997 GB, free: 105.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000923/8.068, allocations: 0.504 MB / 3.998 GB, free: 104.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008524/8.069, allocations: 79.41 kB / 3.998 GB, free: 104.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 7.234e-06/8.069, allocations: 0 / 3.998 GB, free: 104.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.003411/8.072, allocations: 1.362 MB / 3.999 GB, free: 103.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/8.072, allocations: 115.5 kB / 3.999 GB, free: 103 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/8.075, allocations: 1.016 MB / 4 GB, free: 102 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/8.075, allocations: 41.7 kB / 4 GB, free: 101.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006084/8.075, allocations: 0.6536 MB / 4.001 GB, free: 101.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/8.076, allocations: 248.4 kB / 4.001 GB, free: 101 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/8.076, allocations: 16 kB / 4.001 GB, free: 101 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.798e-05/8.076, allocations: 334 kB / 4.001 GB, free: 100.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/8.076, allocations: 357.8 kB / 4.002 GB, free: 100.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000891/8.077, allocations: 0.6124 MB / 4.002 GB, free: 99.61 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008512/8.078, allocations: 464 kB / 4.003 GB, free: 99.16 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/8.078, allocations: 0 / 4.003 GB, free: 99.16 MB / 1.167 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002412/8.081, allocations: 1.172 MB / 4.004 GB, free: 97.97 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004466/8.081, allocations: 2.072 MB / 4.006 GB, free: 95.77 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/8.081, allocations: 8 kB / 4.006 GB, free: 95.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003742/8.082, allocations: 80.69 kB / 4.006 GB, free: 95.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/8.083, allocations: 219.7 kB / 4.006 GB, free: 95.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006195/8.083, allocations: 1.201 MB / 4.007 GB, free: 94.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/8.085, allocations: 123.9 kB / 4.008 GB, free: 94.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/8.085, allocations: 56.03 kB / 4.008 GB, free: 94.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/8.085, allocations: 4 kB / 4.008 GB, free: 94.04 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002127/8.087, allocations: 1.047 MB / 4.009 GB, free: 92.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/8.087, allocations: 8 kB / 4.009 GB, free: 92.97 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004379/8.088, allocations: 116.9 kB / 4.009 GB, free: 92.86 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/8.088, allocations: 199.7 kB / 4.009 GB, free: 92.66 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/8.092, allocations: 2.724 MB / 4.012 GB, free: 89.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/8.094, allocations: 119.8 kB / 4.012 GB, free: 89.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/8.094, allocations: 48.23 kB / 4.012 GB, free: 89.57 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 1 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.001169/8.095, allocations: 461.6 kB / 4.012 GB, free: 89.11 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/8.096, allocations: 134.3 kB / 4.012 GB, free: 88.97 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/8.098, allocations: 1.034 MB / 4.013 GB, free: 87.92 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/8.098, allocations: 8 kB / 4.013 GB, free: 87.91 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/8.098, allocations: 7.938 kB / 4.013 GB, free: 87.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001713/8.1, allocations: 0.9223 MB / 4.014 GB, free: 86.95 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 postOpt removeSimpleEquations (simulation): time 0.005488/8.106, allocations: 2.398 MB / 4.017 GB, free: 84.45 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/8.106, allocations: 3.938 kB / 4.017 GB, free: 84.45 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009039/8.107, allocations: 172 kB / 4.017 GB, free: 84.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002786/8.107, allocations: 80.72 kB / 4.017 GB, free: 84.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/8.107, allocations: 23.98 kB / 4.017 GB, free: 84.18 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000515/8.107, allocations: 1.205 MB / 4.018 GB, free: 82.92 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/8.107, allocations: 7.969 kB / 4.018 GB, free: 82.91 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/8.11, allocations: 1.588 MB / 4.02 GB, free: 81.25 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008475/8.111, allocations: 295.3 kB / 4.02 GB, free: 80.94 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/8.112, allocations: 20 kB / 4.02 GB, free: 80.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/8.113, allocations: 103.8 kB / 4.02 GB, free: 80.82 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/8.113, allocations: 56.42 kB / 4.02 GB, free: 80.77 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/8.113, allocations: 27.98 kB / 4.02 GB, free: 80.74 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001428/8.115, allocations: 0.7914 MB / 4.021 GB, free: 79.95 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.31e-07/8.115, allocations: 0 / 4.021 GB, free: 79.95 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004194/8.119, allocations: 1.057 MB / 4.022 GB, free: 78.89 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00443/8.123, allocations: 2.719 MB / 4.025 GB, free: 76 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003677/8.127, allocations: 1.672 MB / 4.026 GB, free: 74.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/8.127, allocations: 0 / 4.026 GB, free: 74.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009788/8.128, allocations: 451.2 kB / 4.027 GB, free: 73.86 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/8.131, allocations: 0.6362 MB / 4.027 GB, free: 73.23 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/8.136, allocations: 3.185 MB / 4.03 GB, free: 70 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009504/8.137, allocations: 1.304 MB / 4.032 GB, free: 68.66 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001726/8.139, allocations: 347.2 kB / 4.032 GB, free: 68.32 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/8.14, allocations: 103.4 kB / 4.032 GB, free: 68.22 MB / 1.167 GB Notification: Performance of SimCode: time 6.81e-07/8.14, allocations: 0 / 4.032 GB, free: 68.22 MB / 1.167 GB Notification: Performance of Templates: time 0.07358/8.213, allocations: 52.73 MB / 4.084 GB, free: 15.73 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches