Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.511/1.511, allocations: 249.3 MB / 261.8 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.001071, allocations: 178.2 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001028, allocations: 90.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.827e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1923, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.122/5.314, allocations: 2.234 GB / 3.126 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/5.315, allocations: 99.88 kB / 3.126 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.811/8.126, allocations: 0.7819 GB / 3.908 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.044e-06/8.126, allocations: 11.88 kB / 3.908 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003421/8.127, allocations: 36 kB / 3.908 GB, free: 10.89 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00717/8.134, allocations: 1.887 MB / 3.91 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/8.134, allocations: 8.031 kB / 3.91 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/8.138, allocations: 433.4 kB / 3.91 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006714/8.144, allocations: 1.851 MB / 3.912 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/8.145, allocations: 78 kB / 3.912 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005209/8.145, allocations: 111.9 kB / 3.912 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/8.148, allocations: 1.14 MB / 3.913 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.935e-05/8.148, allocations: 15.78 kB / 3.913 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/8.149, allocations: 44 kB / 3.913 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/8.149, allocations: 37.95 kB / 3.913 GB, free: 5.137 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/8.151, allocations: 0.8122 MB / 3.914 GB, free: 4.324 MB / 0.8855 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.6994/8.85, allocations: 4.951 MB / 3.919 GB, free: 136.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/8.852, allocations: 0.8254 MB / 3.92 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006606/8.853, allocations: 352.2 kB / 3.92 GB, free: 136.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002205/8.853, allocations: 107.8 kB / 3.92 GB, free: 136.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009518/8.854, allocations: 441 kB / 3.921 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009842/8.855, allocations: 89.16 kB / 3.921 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=71): time 4.158e-06/8.855, allocations: 2.344 kB / 3.921 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=71): time 0.001991/8.857, allocations: 0.7909 MB / 3.922 GB, free: 136.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/8.857, allocations: 190.3 kB / 3.922 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/8.859, allocations: 1.022 MB / 3.923 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/8.859, allocations: 45.44 kB / 3.923 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006521/8.859, allocations: 0.6661 MB / 3.924 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/8.86, allocations: 241.2 kB / 3.924 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/8.86, allocations: 18.81 kB / 3.924 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001003/8.86, allocations: 338.4 kB / 3.924 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/8.86, allocations: 292.7 kB / 3.924 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007269/8.861, allocations: 0.5783 MB / 3.925 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/8.862, allocations: 402.3 kB / 3.925 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/8.862, allocations: 4.562 kB / 3.925 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002006/8.864, allocations: 1.051 MB / 3.926 GB, free: 135 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005579/8.864, allocations: 2.083 MB / 3.928 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/8.864, allocations: 7.109 kB / 3.928 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003786/8.865, allocations: 70.84 kB / 3.928 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008953/8.866, allocations: 202.8 kB / 3.929 GB, free: 132.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007143/8.867, allocations: 1.204 MB / 3.93 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/8.868, allocations: 107.9 kB / 3.93 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/8.868, allocations: 51 kB / 3.93 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/8.868, allocations: 5.031 kB / 3.93 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002207/8.87, allocations: 0.947 MB / 3.931 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/8.87, allocations: 7.359 kB / 3.931 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/8.871, allocations: 112.8 kB / 3.931 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/8.872, allocations: 184.5 kB / 3.931 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/8.876, allocations: 2.681 MB / 3.934 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/8.878, allocations: 95.38 kB / 3.934 GB, free: 130 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/8.878, allocations: 45.67 kB / 3.934 GB, free: 130 MB / 0.8855 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003777/8.878, allocations: 168.9 kB / 3.934 GB, free: 129.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/8.878, allocations: 140.4 kB / 3.934 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/8.881, allocations: 0.8913 MB / 3.935 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/8.881, allocations: 7.5 kB / 3.935 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/8.881, allocations: 2.281 kB / 3.935 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/8.882, allocations: 0.7849 MB / 3.936 GB, free: 129.5 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.004534/8.886, allocations: 2.224 MB / 3.938 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/8.886, allocations: 0 / 3.938 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008232/8.887, allocations: 169.8 kB / 3.938 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002602/8.887, allocations: 79.52 kB / 3.938 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/8.888, allocations: 20.88 kB / 3.938 GB, free: 129.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005158/8.888, allocations: 1.192 MB / 3.939 GB, free: 128 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/8.888, allocations: 7.531 kB / 3.939 GB, free: 128 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/8.89, allocations: 1.381 MB / 3.941 GB, free: 127.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/8.891, allocations: 291.1 kB / 3.941 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/8.891, allocations: 19 kB / 3.941 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008637/8.892, allocations: 102.5 kB / 3.941 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/8.892, allocations: 48.45 kB / 3.941 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/8.892, allocations: 31.23 kB / 3.941 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001404/8.894, allocations: 0.7916 MB / 3.942 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/8.894, allocations: 2.516 kB / 3.942 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00533/8.899, allocations: 1.107 MB / 3.943 GB, free: 127.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * 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.008102/8.907, allocations: 2.762 MB / 3.946 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005/8.912, allocations: 1.586 MB / 3.947 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/8.912, allocations: 1.375 kB / 3.947 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009729/8.913, allocations: 368.2 kB / 3.948 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/8.917, allocations: 0.6403 MB / 3.948 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/8.922, allocations: 2.029 MB / 3.95 GB, free: 125.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/8.923, allocations: 1.32 MB / 3.952 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002482/8.926, allocations: 493.3 kB / 3.952 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/8.926, allocations: 85.92 kB / 3.952 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.495e-06/8.926, allocations: 3.031 kB / 3.952 GB, free: 124.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.09719/9.023, allocations: 62.38 MB / 4.013 GB, free: 123.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_ClosedLoop_y.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.ClosedLoop_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches