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.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.961 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.001104/0.001104, allocations: 179.6 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009817/0.0009817, allocations: 90.38 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.195e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2297, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.519/5.749, allocations: 2.234 GB / 3.12 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/5.749, allocations: 95.08 kB / 3.12 GB, free: 170.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.853/8.602, allocations: 0.7728 GB / 3.893 GB, free: 44.56 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/8.602, allocations: 0 / 3.893 GB, free: 44.56 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001911/8.603, allocations: 36 kB / 3.893 GB, free: 44.53 MB / 0.8698 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.005483/8.608, allocations: 1.877 MB / 3.894 GB, free: 42.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/8.608, allocations: 8.031 kB / 3.894 GB, free: 42.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003046/8.611, allocations: 429.4 kB / 3.895 GB, free: 42.17 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004215/8.615, allocations: 1.854 MB / 3.897 GB, free: 40.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/8.615, allocations: 32 kB / 3.897 GB, free: 40.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/8.616, allocations: 64 kB / 3.897 GB, free: 40.17 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001409/8.617, allocations: 0.7959 MB / 3.898 GB, free: 39.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/8.618, allocations: 1.007 MB / 3.899 GB, free: 38.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/8.619, allocations: 3.938 kB / 3.899 GB, free: 38.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/8.619, allocations: 4 kB / 3.899 GB, free: 38.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/8.619, allocations: 37.83 kB / 3.899 GB, free: 38.28 MB / 0.8698 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.006182/8.625, allocations: 4.775 MB / 3.903 GB, free: 33.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/8.626, allocations: 0.8542 MB / 3.904 GB, free: 32.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/8.627, allocations: 362.9 kB / 3.904 GB, free: 31.94 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/8.627, allocations: 101.7 kB / 3.905 GB, free: 31.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005633/8.627, allocations: 424.2 kB / 3.905 GB, free: 31.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006631/8.628, allocations: 67.39 kB / 3.905 GB, free: 31.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=71): time 3.647e-06/8.628, allocations: 0 / 3.905 GB, free: 31.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71): time 0.001764/8.63, allocations: 0.851 MB / 3.906 GB, free: 30.47 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/8.63, allocations: 200.6 kB / 3.906 GB, free: 30.23 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/8.631, allocations: 0.8904 MB / 3.907 GB, free: 29.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/8.631, allocations: 29.7 kB / 3.907 GB, free: 29.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005104/8.632, allocations: 0.6611 MB / 3.908 GB, free: 28.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/8.632, allocations: 240.5 kB / 3.908 GB, free: 28.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/8.632, allocations: 0 / 3.908 GB, free: 28.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/8.632, allocations: 334 kB / 3.908 GB, free: 28.05 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/8.632, allocations: 310.5 kB / 3.908 GB, free: 27.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/8.633, allocations: 0.5844 MB / 3.909 GB, free: 27.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/8.634, allocations: 414.3 kB / 3.909 GB, free: 26.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/8.634, allocations: 0 / 3.909 GB, free: 26.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00158/8.635, allocations: 1.034 MB / 3.91 GB, free: 25.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004478/8.636, allocations: 2.076 MB / 3.912 GB, free: 23.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/8.636, allocations: 7.938 kB / 3.912 GB, free: 23.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/8.636, allocations: 100.8 kB / 3.912 GB, free: 23.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/8.637, allocations: 203.7 kB / 3.913 GB, free: 23.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007039/8.638, allocations: 1.275 MB / 3.914 GB, free: 21.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/8.639, allocations: 87.2 kB / 3.914 GB, free: 21.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/8.639, allocations: 51.98 kB / 3.914 GB, free: 21.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/8.639, allocations: 4 kB / 3.914 GB, free: 21.62 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001544/8.641, allocations: 0.8469 MB / 3.915 GB, free: 20.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/8.641, allocations: 8 kB / 3.915 GB, free: 20.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/8.641, allocations: 104.8 kB / 3.915 GB, free: 20.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/8.642, allocations: 187.9 kB / 3.915 GB, free: 20.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/8.645, allocations: 2.599 MB / 3.918 GB, free: 17.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/8.647, allocations: 87.88 kB / 3.918 GB, free: 17.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.675e-05/8.647, allocations: 39.98 kB / 3.918 GB, free: 17.56 MB / 0.8698 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.0003066/8.647, allocations: 132.7 kB / 3.918 GB, free: 17.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/8.647, allocations: 130.3 kB / 3.918 GB, free: 17.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/8.649, allocations: 0.8463 MB / 3.919 GB, free: 16.44 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/8.649, allocations: 12 kB / 3.919 GB, free: 16.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/8.649, allocations: 0 / 3.919 GB, free: 16.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/8.65, allocations: 0.7574 MB / 3.92 GB, free: 15.63 MB / 0.8698 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.003387/8.653, allocations: 2.073 MB / 3.922 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/8.653, allocations: 0 / 3.922 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/8.654, allocations: 167.8 kB / 3.922 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/8.654, allocations: 64.89 kB / 3.922 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.246e-05/8.654, allocations: 11.98 kB / 3.922 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005319/8.655, allocations: 1.193 MB / 3.923 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/8.655, allocations: 8.125 kB / 3.923 GB, free: 11.99 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/8.657, allocations: 1.336 MB / 3.924 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005803/8.657, allocations: 279.4 kB / 3.925 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/8.657, allocations: 8 kB / 3.925 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/8.658, allocations: 91.2 kB / 3.925 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/8.658, allocations: 48.48 kB / 3.925 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/8.659, allocations: 35.98 kB / 3.925 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009737/8.66, allocations: 0.6776 MB / 3.926 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/8.66, allocations: 0 / 3.926 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003397/8.663, allocations: 1.017 MB / 3.927 GB, free: 8.418 MB / 0.8698 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.004335/8.667, allocations: 2.893 MB / 3.929 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002781/8.67, allocations: 1.535 MB / 3.931 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/8.67, allocations: 4.125 kB / 3.931 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005988/8.671, allocations: 349.9 kB / 3.931 GB, free: 3.426 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/8.674, allocations: 0.5977 MB / 3.932 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/8.677, allocations: 1.984 MB / 3.934 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009567/8.678, allocations: 1.326 MB / 3.935 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002151/8.681, allocations: 462.8 kB / 3.935 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/8.681, allocations: 87.41 kB / 3.936 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.623e-06/8.681, allocations: 0 / 3.936 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.7276/9.408, allocations: 40.73 MB / 3.975 GB, free: 134.2 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